Missed this we don't use underscores in settings in config files to prevent confusiong between variables and settings

This commit is contained in:
Brian West
2014-02-19 12:46:23 -06:00
parent 81f9303d42
commit 0911849154
2 changed files with 2 additions and 2 deletions

View 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);