X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_tractor.c;h=1bbcace77b411d2bbfe1cad90feff5c0105bc789;hb=c63b98c399b13d0672beb9cabba832a71d45a2ea;hp=147c45d43b7ab5bfbff4ca0d60fe449265ba4fe2;hpb=2ec3359e476bc73d56e09fb597e1a424f2d1708d;p=melted diff --git a/src/framework/mlt_tractor.c b/src/framework/mlt_tractor.c index 147c45d..1bbcace 100644 --- a/src/framework/mlt_tractor.c +++ b/src/framework/mlt_tractor.c @@ -26,6 +26,7 @@ #include #include +#include /** Private structure. */ @@ -135,7 +136,6 @@ static int producer_get_frame( mlt_producer parent, mlt_frame_ptr frame, int tra mlt_producer target = mlt_multitrack_producer( multitrack ); mlt_producer_seek( target, mlt_producer_frame( parent ) ); mlt_producer_set_speed( target, mlt_producer_get_speed( parent ) ); - //mlt_producer_set_in_and_out( parent, mlt_producer_get_in( target ), mlt_producer_get_out( target ) ); } else { @@ -176,6 +176,8 @@ static int producer_get_frame( mlt_producer parent, mlt_frame_ptr frame, int tra mlt_properties frame_properties = mlt_frame_properties( *frame ); char label[ 30 ]; sprintf( label, "tractor_%d", count ); + while ( mlt_properties_get_data( frame_properties, label, NULL ) != NULL ) + strcat( label, "+" ); mlt_properties_set_data( frame_properties, label, store[ count ], 0, ( mlt_destructor )mlt_frame_close, NULL ); }