From 23caa4fbe5c39ecc8b46fb33f6caaa1d7c67285f Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Wed, 11 Dec 2013 23:16:21 -0800 Subject: [PATCH] Fix mixer tractor missing profile reference. This resulted in unserialized time values when using xml consumer. --- src/framework/mlt_playlist.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/framework/mlt_playlist.c b/src/framework/mlt_playlist.c index 1d2851ec..f3dd72ce 100644 --- a/src/framework/mlt_playlist.c +++ b/src/framework/mlt_playlist.c @@ -1169,6 +1169,11 @@ int mlt_playlist_mix( mlt_playlist self, int clip, int length, mlt_transition tr mlt_producer track_a = NULL; mlt_producer track_b = NULL; mlt_tractor tractor = mlt_tractor_new( ); + + mlt_service_set_profile( MLT_TRACTOR_SERVICE( tractor ), + mlt_service_profile( MLT_PLAYLIST_SERVICE( self ) ) ); + mlt_properties_set_lcnumeric( MLT_TRACTOR_PROPERTIES( tractor ), + mlt_properties_get_lcnumeric( MLT_PLAYLIST_PROPERTIES( self ) ) ); mlt_events_block( MLT_PLAYLIST_PROPERTIES( self ), self ); // Check length is valid for both clips and resize if necessary. -- 2.39.2