mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 01:06:00 +00:00
FS-11189 do not allow user change of g_timebase
the timebase logic is tighed to code internal logic and cannot be changed externally
This commit is contained in:
parent
827be99f9b
commit
cc02a4abfc
@ -73,7 +73,6 @@
|
|||||||
<!-- <param name="enc-threads" value="1"/> -->
|
<!-- <param name="enc-threads" value="1"/> -->
|
||||||
|
|
||||||
<param name="g-profile" value="2"/>
|
<param name="g-profile" value="2"/>
|
||||||
<param name="g-timebase" value="1/1000"/>
|
|
||||||
<!-- DEFULT | PARTITIONS -->
|
<!-- DEFULT | PARTITIONS -->
|
||||||
<param name="g-error-resilient" value="PARTITIONS"/>
|
<param name="g-error-resilient" value="PARTITIONS"/>
|
||||||
<!-- ONE_PASS, FIRST_PASS, LAST_PASS"/> -->
|
<!-- ONE_PASS, FIRST_PASS, LAST_PASS"/> -->
|
||||||
|
@ -1500,6 +1500,7 @@ static void load_config()
|
|||||||
enc_cfg->g_threads = switch_parse_cpu_string(value);
|
enc_cfg->g_threads = switch_parse_cpu_string(value);
|
||||||
} else if (!strcmp(name, "g-profile")) {
|
} else if (!strcmp(name, "g-profile")) {
|
||||||
enc_cfg->g_profile = UINTVAL(val);
|
enc_cfg->g_profile = UINTVAL(val);
|
||||||
|
#if 0
|
||||||
} else if (!strcmp(name, "g-timebase")) {
|
} else if (!strcmp(name, "g-timebase")) {
|
||||||
int num = 0;
|
int num = 0;
|
||||||
int den = 0;
|
int den = 0;
|
||||||
@ -1518,6 +1519,7 @@ static void load_config()
|
|||||||
enc_cfg->g_timebase.num = num;
|
enc_cfg->g_timebase.num = num;
|
||||||
enc_cfg->g_timebase.den = den;
|
enc_cfg->g_timebase.den = den;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
} else if (!strcmp(name, "g-error-resilient")) {
|
} else if (!strcmp(name, "g-error-resilient")) {
|
||||||
char *s = strdup(value);
|
char *s = strdup(value);
|
||||||
vpx_codec_er_flags_t res = 0;
|
vpx_codec_er_flags_t res = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user