]> git.sesse.net Git - mlt/commitdiff
Fix jackrack filter not working without rack file.
authorDan Dennedy <dan@dennedy.org>
Sat, 28 Aug 2010 19:18:36 +0000 (12:18 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 28 Aug 2010 19:18:36 +0000 (12:18 -0700)
src/modules/jackrack/filter_jackrack.c

index bc207e673394d13799ec1ff8a423cf4597fe6e29..86c8fecb7a5e541fa96cb1496c18b7ae6d383714 100644 (file)
@@ -58,6 +58,11 @@ static void initialise_jack_ports( mlt_properties properties )
                        (mlt_destructor) jack_rack_destroy, NULL );
                mlt_properties_set( properties, "_rack_client_name", rack_name );
        }
+       else
+       {
+               // We have to set this to something to prevent re-initialization.
+               mlt_properties_set_data( properties, "jackrack", jack_client, 0, NULL, NULL );
+       }
                
        // Allocate buffers and ports
        jack_ringbuffer_t **output_buffers = mlt_pool_alloc( sizeof( jack_ringbuffer_t *) * channels );