From: Anthony Minessale Date: Sat, 5 Aug 2017 18:13:48 +0000 (-0500) Subject: FS-10527: [mod_av] AV tweaks -- using more threads on decode is a little buggy X-Git-Tag: v1.8.0~313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f244e8c625041350f407761a616eae7a79d574;p=thirdparty%2Ffreeswitch.git FS-10527: [mod_av] AV tweaks -- using more threads on decode is a little buggy --- diff --git a/src/mod/applications/mod_av/avcodec.c b/src/mod/applications/mod_av/avcodec.c index 36fdfa37e3..7a99c1d2b1 100644 --- a/src/mod/applications/mod_av/avcodec.c +++ b/src/mod/applications/mod_av/avcodec.c @@ -1025,7 +1025,7 @@ static switch_status_t switch_h264_init(switch_codec_t *codec, switch_codec_flag if (threads > 4) threads = 4; context->decoder_ctx = avcodec_alloc_context3(context->decoder); - context->decoder_ctx->thread_count = threads; + //context->decoder_ctx->thread_count = threads; if (avcodec_open2(context->decoder_ctx, context->decoder, NULL) < 0) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error openning codec\n"); goto error;