[FFmpeg-devel] [PATCH] avcodec/libdav1d: export decoder frame delay
Ronald S. Bultje
rsbultje at gmail.com
Fri May 12 14:36:18 EEST 2023
Hi,
On Thu, May 11, 2023 at 12:04 PM James Almer <jamrial at gmail.com> 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>
> ---
> doc/decoders.texi | 3 ++-
> libavcodec/libdav1d.c | 16 +++++++++++++++-
> libavcodec/version.h | 2 +-
> 3 files changed, 18 insertions(+), 3 deletions(-)
>
LGTM.
Ronald
More information about the ffmpeg-devel
mailing list