From 0ae409f22585354b2b8c2459a3cb9e6d39e42dfe Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Sat, 21 Dec 2013 11:15:55 -0800 Subject: [PATCH] Fix bug passing serializable data property (SF-202). Patch by Jakub Ksiezniak. --- src/framework/mlt_property.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/framework/mlt_property.c b/src/framework/mlt_property.c index 8339c81b..64e05924 100644 --- a/src/framework/mlt_property.c +++ b/src/framework/mlt_property.c @@ -774,10 +774,10 @@ void mlt_property_pass( mlt_property self, mlt_property that ) self->destructor = free; self->serialiser = that->serialiser; } - else if ( self->types & mlt_prop_data && self->serialiser != NULL ) + else if ( self->types & mlt_prop_data && that->serialiser != NULL ) { self->types = mlt_prop_string; - self->prop_string = self->serialiser( self->data, self->length ); + self->prop_string = that->serialiser( that->data, that->length ); } pthread_mutex_unlock( &self->mutex ); } -- 2.39.2