From 845797debbd5cfdc3dc515595afa572727842bf2 Mon Sep 17 00:00:00 2001 From: ddennedy Date: Mon, 22 Mar 2004 05:22:13 +0000 Subject: [PATCH] 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 --- src/modules/westley/producer_westley.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) 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 ); -- 1.7.4.4