[FFmpeg-devel] [PATCH] avcodec/libdav1d: export decoder frame delay

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu May 11 22:22:03 EEST 2023


On 5/11/2023 5:04 PM, James Almer wrote:
> As this is a AV_CODEC_CAP_OTHER_THREADS decoder, threading is handled by the
> underlying library. In this case, the frame delay is calculated by libdav1d
> based on the values from avctx->thread_count and the private max_frame_delay
> option.
> Make said max_frame_delay option an exported one, and store the final delay
> used by libdav1d here, for the caller to query if needed.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---

I can confirm this works as expected.

- Derek


More information about the ffmpeg-devel mailing list