From: lilo_booter Date: Tue, 5 Oct 2004 10:44:00 +0000 (+0000) Subject: Yikes - another corrections to cloning (oops) X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=42ed8e7a15a5e2ba693c644e73948ff6ffb0fed4;p=mlt Yikes - another corrections to cloning (oops) git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@462 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/framework/mlt_parser.c b/src/framework/mlt_parser.c index ff073aa7..3eba1607 100644 --- a/src/framework/mlt_parser.c +++ b/src/framework/mlt_parser.c @@ -34,8 +34,6 @@ static int on_unknown( mlt_parser this, mlt_service object ) static int on_start_producer( mlt_parser this, mlt_producer object ) { - if ( !mlt_producer_is_mix( mlt_producer_cut_parent( object ) ) && mlt_producer_is_cut( object ) ) - mlt_properties_debug( mlt_producer_properties( object ), "cut", stderr ); return 0; } diff --git a/src/framework/mlt_producer.c b/src/framework/mlt_producer.c index 352364ab..98498c45 100644 --- a/src/framework/mlt_producer.c +++ b/src/framework/mlt_producer.c @@ -526,7 +526,7 @@ static void mlt_producer_set_clones( mlt_producer this, int clones ) { mlt_producer clone = mlt_producer_clone( parent ); sprintf( key, "_clone.%d", i ); - mlt_properties_set_data( properties, key, clone, 0, ( mlt_destructor )mlt_producer_clone, NULL ); + mlt_properties_set_data( properties, key, clone, 0, ( mlt_destructor )mlt_producer_close, NULL ); } } else