mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-19 01:34:13 +00:00
FS-11189 set default cpu string to cpu/2/4 if not configured
This commit is contained in:
1 parent
f52b2d26a7
commit
c1f8bfb442
1 file changed
+2
@@ -1858,6 +1858,8 @@ static void load_config()
|
||||
profile->ctx.qmin = -1;
|
||||
profile->ctx.qmax = -1;
|
||||
profile->ctx.max_qdiff = -1;
|
||||
profile->ctx.thread_count = switch_parse_cpu_string("cpu/2/4");
|
||||
profile->decoder_thread_count = switch_parse_cpu_string("cpu/2/4");
|
||||
|
||||
if (!strcasecmp(CODEC_MAPS[i], "H264")) {
|
||||
profile->ctx.profile = FF_PROFILE_H264_BASELINE;
|
||||
|
||||
Reference in new issue
Block a user