]> git.sesse.net Git - mlt/blobdiff - src/framework/mlt_property.c
fix passing property that has both numeric and string types
[mlt] / 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 );