From 3069cb27acfc9ae9c6f546bf6b3e674cdf996949 Mon Sep 17 00:00:00 2001 From: philippegorley <philippe.gorley@savoirfairelinux.com> Date: Tue, 27 Jun 2017 18:49:44 -0400 Subject: [PATCH] accel: support for accelerated frame threading Don't set decoding to single threaded; FFmpeg now supports hardware accelerated decoding with frame threading. Change-Id: Icac21d2e79d3d5dda4660e8ac4f4fd0c465e66c4 --- src/media/video/accel.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/media/video/accel.cpp b/src/media/video/accel.cpp index 8f26f98e6f..02276b4238 100644 --- a/src/media/video/accel.cpp +++ b/src/media/video/accel.cpp @@ -244,7 +244,6 @@ makeHardwareAccel(AVCodecContext* codecCtx) codecCtx->get_format = getFormatCb; codecCtx->get_buffer2 = allocateBufferCb; codecCtx->thread_safe_callbacks = 1; - codecCtx->thread_count = 1; RING_DBG("Attempting to use '%s' hardware acceleration", accel->name().c_str()); return accel; } -- GitLab