]> git.sesse.net Git - mlt/commitdiff
Yikes - another corrections to cloning (oops)
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 5 Oct 2004 10:44:00 +0000 (10:44 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 5 Oct 2004 10:44:00 +0000 (10:44 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@462 d19143bc-622f-0410-bfdd-b5b2a6649095

src/framework/mlt_parser.c
src/framework/mlt_producer.c

index ff073aa7ecba79a05dba87db59c670134e515b71..3eba1607e8d649a0bd39f48263e04e7a59c82be2 100644 (file)
@@ -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;
 }
 
index 352364ab6f43a8ec79d5d7a52d0f14ae64c05765..98498c459214fa9ba778a2fa0c577f54a71660bb 100644 (file)
@@ -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