提交 69ef3dd0 authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #1556 in FS/freeswitch from…

Merge pull request #1556 in FS/freeswitch from ~ANDYWOLK/freeswitch:bugfix/FS-11294-fix-mod_av-build-on-windows to master

* commit '5f61553d':
  FS-11294: [mod_av] Fix mod_av build on Windows.
......@@ -1677,14 +1677,14 @@ static void load_config()
avcodec_globals.key_frame_min_freq *= 1000;
} else if (!strcmp(name, "dec-threads")) {
int i;
uint threads = switch_parse_cpu_string(value);
unsigned int threads = switch_parse_cpu_string(value);
for (i = 0; i < MAX_CODECS; i++) {
avcodec_globals.profiles[i].decoder_thread_count = threads;
}
} else if (!strcmp(name, "enc-threads")) {
int i;
uint threads = switch_parse_cpu_string(value);
unsigned int threads = switch_parse_cpu_string(value);
for (i = 0; i < MAX_CODECS; i++) {
avcodec_globals.profiles[i].ctx.thread_count = threads;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论