forked from Mirrors/freeswitch
Missed this we don't use underscores in settings in config files to prevent confusiong between variables and settings
This commit is contained in:
parent
81f9303d42
commit
0911849154
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue