Transitions reworked (always_active capabilities); remaining audio handling switched...
[melted] / src / framework / mlt_tractor.c
index 861edff..d41eba1 100644 (file)
@@ -308,8 +308,7 @@ static int producer_get_frame( mlt_producer parent, mlt_frame_ptr frame, int tra
                                mlt_properties_set_data( frame_properties, label, temp, 0, ( mlt_destructor )mlt_frame_close, NULL );
 
                                // We want the first data_queue, but after that, all queues are appended
-                               if ( !done && mlt_properties_get_data( temp_properties, "data_queue", NULL ) != NULL && 
-                                    mlt_deque_count( mlt_properties_get_data( temp_properties, "data_queue", NULL ) ) != 0 )
+                               if ( !done && mlt_properties_get_data( temp_properties, "data_queue", NULL ) != NULL )
                                {
                                        if ( data_queue == NULL )
                                        {
@@ -345,7 +344,7 @@ static int producer_get_frame( mlt_producer parent, mlt_frame_ptr frame, int tra
                        if ( audio != NULL )
                        {
                                mlt_frame_push_audio( *frame, audio );
-                               ( *frame )->get_audio = producer_get_audio;
+                               mlt_frame_push_audio( *frame, producer_get_audio );
                        }
 
                        if ( video != NULL )