[FFmpeg-devel] [PATCH v2 02/27] avcodec/decode: Add new ProgressFrame API
Anton Khirnov
anton at khirnov.net
Wed Apr 10 10:01:07 EEST 2024
Quoting Andreas Rheinhardt (2024-04-08 22:13:40)
> diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
> index fd356bd190..6b2c4312e0 100644
> --- a/libavcodec/pthread_frame.c
> +++ b/libavcodec/pthread_frame.c
> @@ -779,6 +779,7 @@ static av_cold int init_thread(PerThreadContext *p, int *threads_to_free,
> if (!copy->internal)
> return AVERROR(ENOMEM);
> copy->internal->thread_ctx = p;
> + copy->internal->progress_frame_pool = avctx->internal->progress_frame_pool;
I'd still prefer every thread to have its own reference.
Looks good otherwise.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list