]> git.sesse.net Git - mlt/commitdiff
Fix bad comparison on metadata for 'sox' (not sox.*)
authorDan Dennedy <dan@dennedy.org>
Tue, 23 Aug 2011 05:21:07 +0000 (22:21 -0700)
committerDan Dennedy <dan@dennedy.org>
Tue, 23 Aug 2011 05:21:07 +0000 (22:21 -0700)
src/modules/sox/factory.c

index aeb228be5d908e6151596d2f3c2a177830180369..bfc718771bef58af9a79bd4e00d443d6587980a0 100644 (file)
@@ -38,7 +38,7 @@ static mlt_properties metadata( mlt_service_type type, const char *id, void *dat
        result = mlt_properties_parse_yaml( file );
 
 #ifdef SOX14
-       if ( result && ( type == filter_type ) )
+       if ( result && ( type == filter_type ) && strcmp( id, "sox" ) )
        {
                // Annotate the yaml properties with sox effect usage.
                mlt_properties params = mlt_properties_get_data( result, "parameters", NULL );