]> git.sesse.net Git - mlt/blobdiff - src/modules/sox/filter_sox.c
Use mlt_properties_get_value where possible.
[mlt] / src / modules / sox / filter_sox.c
index 34504bf9047a2e366f3b2fcc9cd8f096ae0eec0d..483e0f5852d5dacbaa962f41c9ae5d3e69b3809d 100644 (file)
@@ -245,7 +245,7 @@ static int filter_get_audio( mlt_frame frame, void **buffer, mlt_audio_format *f
                                if ( !strncmp( name, "effect", 6 ) )
                                {
                                        // Get the effect specification
-                                       char *value = mlt_properties_get( filter_properties, name );
+                                       char *value = mlt_properties_get_value( filter_properties, j );
        
                                        // Create an instance
                                        if ( create_effect( filter, value, count, i, *frequency ) == 0 )