Skip to content
Snippets Groups Projects
Commit 3069cb27 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud
Browse files

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
parent b5a50bb8
No related branches found
No related tags found
No related merge requests found
...@@ -244,7 +244,6 @@ makeHardwareAccel(AVCodecContext* codecCtx) ...@@ -244,7 +244,6 @@ makeHardwareAccel(AVCodecContext* codecCtx)
codecCtx->get_format = getFormatCb; codecCtx->get_format = getFormatCb;
codecCtx->get_buffer2 = allocateBufferCb; codecCtx->get_buffer2 = allocateBufferCb;
codecCtx->thread_safe_callbacks = 1; codecCtx->thread_safe_callbacks = 1;
codecCtx->thread_count = 1;
RING_DBG("Attempting to use '%s' hardware acceleration", accel->name().c_str()); RING_DBG("Attempting to use '%s' hardware acceleration", accel->name().c_str());
return accel; return accel;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment