]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Missed this we don't use underscores in settings in config files to prevent confusion...
authorBrian West <brian@freeswitch.org>
Wed, 19 Feb 2014 18:46:23 +0000 (12:46 -0600)
committerBrian West <brian@freeswitch.org>
Wed, 19 Feb 2014 18:46:23 +0000 (12:46 -0600)
conf/vanilla/autoload_configs/opus.conf.xml
src/mod/codecs/mod_opus/mod_opus.c

index bde782a8a6ce9a0911d657860171de8bed13d766..747a8f762f5dadce81829fa0a7aba53727bddfad 100644 (file)
@@ -1,6 +1,6 @@
 <configuration name="opus.conf">
     <settings>
-        <param name="use_vbr" value="1"/>
+        <param name="use-vbr" value="1"/>
         <param name="complexity" value="10"/>
     </settings>
 </configuration>
index 0dadd18134d283fc37bc8436d387ee1be7ccf92d..b7c3c51e125c8805f74519d0e2269b7c13f7cd01 100644 (file)
@@ -409,7 +409,7 @@ static switch_status_t opus_load_config(switch_bool_t reload)
                        char *key = (char *) switch_xml_attr_soft(param, "name");
                        char *val = (char *) switch_xml_attr_soft(param, "value");
                        
-                       if (!strcasecmp(key, "use_vbr") && !zstr(val)) {
+                       if (!strcasecmp(key, "use-vbr") && !zstr(val)) {
                                opus_prefs.use_vbr = atoi(val);
                        } else if (!strcasecmp(key, "complexity")) {
                                opus_prefs.complexity = atoi(val);