X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_producer.c;h=55f85ada23c7d1c04ba040b1b033c661f480a71b;hb=da46016cc4e9c751ab346b9b8f451a59cd276b03;hp=d84a0eb0571aeee2609230ad58c994222c86cb88;hpb=85fef9bf91892619503967c8be84814945e0868c;p=melted diff --git a/src/framework/mlt_producer.c b/src/framework/mlt_producer.c index d84a0eb..55f85ad 100644 --- a/src/framework/mlt_producer.c +++ b/src/framework/mlt_producer.c @@ -503,6 +503,10 @@ static int producer_get_frame( mlt_service service, mlt_frame_ptr frame, int ind // We're done with the clone now mlt_properties_set_data( parent_properties, "use_clone", NULL, 0, NULL, NULL ); + // This is useful and required by always_active transitions to determine in/out points of the cut + if ( mlt_properties_get_data( MLT_FRAME_PROPERTIES( *frame ), "_producer", NULL ) == MLT_PRODUCER_SERVICE( parent ) ) + mlt_properties_set_data( MLT_FRAME_PROPERTIES( *frame ), "_producer", this, 0, NULL, NULL ); + mlt_properties_set_double( MLT_FRAME_PROPERTIES( *frame ), "_speed", speed ); mlt_producer_prepare_next( this ); }