]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10527: [mod_av] AV tweaks -- using more threads on decode is a little buggy
authorAnthony Minessale <anthm@freeswitch.org>
Sat, 5 Aug 2017 18:13:48 +0000 (13:13 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 6 Sep 2017 18:48:26 +0000 (13:48 -0500)
src/mod/applications/mod_av/avcodec.c

index b0a45bc15d3377ea78c957005bb5864a4bd1c71a..f987a4746654d226e0ac360d16dcd9aeb03e6a1b 100644 (file)
@@ -1024,7 +1024,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;