X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fcore%2Fproducer_consumer.c;h=78c5bcc241fac8cdec4ec2bc6b9dd0b16fb222d6;hb=5f48fd1ddbd803c132952ad90290b0fc78a36286;hp=7b36f2138de5b4be487920a2579d61b36283c86c;hpb=b7ec88d437f7eca013393fa3bf4798956a2fe7fd;p=melted diff --git a/src/modules/core/producer_consumer.c b/src/modules/core/producer_consumer.c index 7b36f21..78c5bcc 100644 --- a/src/modules/core/producer_consumer.c +++ b/src/modules/core/producer_consumer.c @@ -118,7 +118,7 @@ static int get_frame( mlt_producer this, mlt_frame_ptr frame, int index ) cx->producer = mlt_factory_producer( cx->profile, mlt_environment( "MLT_PRODUCER" ), mlt_properties_get( properties, "resource" ) ); mlt_properties_pass_list( properties, MLT_PRODUCER_PROPERTIES( cx->producer ), - "in, out, length, resource" ); + "out, length" ); // Since we control the seeking, prevent it from seeking on its own mlt_producer_set_speed( cx->producer, 0 ); @@ -133,7 +133,7 @@ static int get_frame( mlt_producer this, mlt_frame_ptr frame, int index ) if ( frame ) { // Our "in" needs to be the same, keep it so - mlt_properties_pass_list( MLT_PRODUCER_PROPERTIES( cx->producer ), properties, "in" ); + mlt_properties_pass_list( MLT_PRODUCER_PROPERTIES( cx->producer ), properties, "in, out" ); // Seek the producer to the correct place // Calculate our positions