X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_producer.c;h=c3ba4e6ba1c87410676cb8996ce987466541e6ec;hb=2ec3359e476bc73d56e09fb597e1a424f2d1708d;hp=c8a3e69e2699112f5167797d54d69e0896e5acbd;hpb=c28f352daacca421f977bca75eefd36a73189dac;p=melted diff --git a/src/framework/mlt_producer.c b/src/framework/mlt_producer.c index c8a3e69..c3ba4e6 100644 --- a/src/framework/mlt_producer.c +++ b/src/framework/mlt_producer.c @@ -115,6 +115,10 @@ int mlt_producer_seek( mlt_producer this, mlt_position position ) mlt_position mlt_producer_position( mlt_producer this ) { + //char *resource = mlt_properties_get( mlt_producer_properties( this ), "resource" ); + //mlt_position frame = mlt_properties_get_position( mlt_producer_properties( this ), "frame" ); + //mlt_position position = mlt_properties_get_position( mlt_producer_properties( this ), "position" ); + //fprintf( stderr, "%s: %lld %lld\n", resource, frame, position ); return mlt_properties_get_position( mlt_producer_properties( this ), "position" ); } @@ -123,10 +127,6 @@ mlt_position mlt_producer_position( mlt_producer this ) mlt_position mlt_producer_frame( mlt_producer this ) { - //char *resource = mlt_properties_get( mlt_producer_properties( this ), "resource" ); - //mlt_position frame = mlt_properties_get_position( mlt_producer_properties( this ), "frame" ); - //mlt_position position = mlt_properties_get_position( mlt_producer_properties( this ), "position" ); - //fprintf( stderr, "%s: %lld %lld\n", resource, frame, position ); return mlt_properties_get_position( mlt_producer_properties( this ), "frame" ); }