]> git.sesse.net Git - mlt/commitdiff
fix passing property that has both numeric and string types
authorDan Dennedy <dan@dennedy.org>
Mon, 14 Nov 2011 03:27:14 +0000 (19:27 -0800)
committerDan Dennedy <dan@dennedy.org>
Mon, 14 Nov 2011 03:27:14 +0000 (19:27 -0800)
src/framework/mlt_property.c

index c0491439ac794e9f646da2d4c44b3ffcaa76cb9e..3cc9f8b8bdfc3151916067fb1f11b9c714bdde5e 100644 (file)
@@ -631,7 +631,7 @@ void mlt_property_pass( mlt_property self, mlt_property that )
                self->prop_double = that->prop_double;
        else if ( self->types & mlt_prop_position )
                self->prop_position = that->prop_position;
-       else if ( self->types & mlt_prop_string )
+       if ( self->types & mlt_prop_string )
        {
                if ( that->prop_string != NULL )
                        self->prop_string = strdup( that->prop_string );