[FFmpeg-devel] [PATCH] pthread_frame: save the FF_DEBUG_THREADS option in FrameThreadContext.

Ronald S. Bultje rsbultje at gmail.com
Sat Jul 8 16:19:49 EEST 2017


Hi,

On Fri, Jul 7, 2017 at 5:02 PM, Wan-Teh Chang <wtc-at-google.com at ffmpeg.org>
wrote:

> @@ -763,6 +764,7 @@ int ff_frame_thread_init(AVCodecContext *avctx)
>
>      fctx->async_lock = 1;
>      fctx->delaying = 1;
> +    fctx->debug_threads = (avctx->debug & FF_DEBUG_THREADS) != 0;


Shouldn't this be done in update_context_from_user()?

Ronald


More information about the ffmpeg-devel mailing list