From 22be595e8fbe06332714ee47e1fc1f4b6a718c45 Mon Sep 17 00:00:00 2001 From: ddennedy Date: Thu, 8 Jan 2009 06:49:56 +0000 Subject: [PATCH] producer_consumer.c: bugfix setting in point git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1310 d19143bc-622f-0410-bfdd-b5b2a6649095 --- src/modules/core/producer_consumer.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.4.4