From: ddennedy Date: Mon, 22 Mar 2004 05:22:13 +0000 (+0000) Subject: touchup on the producer in/out applied to parent entry X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=845797debbd5cfdc3dc515595afa572727842bf2;p=melted touchup on the producer in/out applied to parent entry git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@225 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/westley/producer_westley.c b/src/modules/westley/producer_westley.c index 8fd8783..2277ece 100644 --- a/src/modules/westley/producer_westley.c +++ b/src/modules/westley/producer_westley.c @@ -221,6 +221,9 @@ static void on_start_entry_track( deserialise_context context, const xmlChar *na // Push the dummy service onto the stack context_push_service( context, service ); + if ( strcmp( name, "entry" ) == 0 ) + mlt_properties_set( mlt_service_properties( service ), "resource", "" ); + for ( ; atts != NULL && *atts != NULL; atts += 2 ) { mlt_properties_set( mlt_service_properties( service ), (char*) atts[0], (char*) atts[1] ); @@ -625,7 +628,7 @@ static void on_end_producer( deserialise_context context, const xmlChar *name ) context_push_service( context, parent ); // If the parent is a track or entry - if ( resource && ( strcmp( resource, "" ) == 0 ) ) + if ( resource && ( strcmp( resource, "" ) == 0 ) ) { mlt_properties_set_position( properties, "in", in ); mlt_properties_set_position( properties, "out", out );