From 31ae95d988027a61922d47da622bc17357b49af2 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 9 Jul 2023 16:20:44 -0300 Subject: [PATCH] avcodec/v4l2_m2m_dec: remove FF_CODEC_CAP_SETS_PKT_DTS flag It has no effect on receive_frame() decoders. Signed-off-by: James Almer --- libavcodec/v4l2_m2m_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/v4l2_m2m_dec.c b/libavcodec/v4l2_m2m_dec.c index 4944d08511..aa2d759e1e 100644 --- a/libavcodec/v4l2_m2m_dec.c +++ b/libavcodec/v4l2_m2m_dec.c @@ -253,7 +253,7 @@ static const AVOption options[] = { .bsfs = bsf_name, \ .p.capabilities = AV_CODEC_CAP_HARDWARE | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING, \ .caps_internal = FF_CODEC_CAP_NOT_INIT_THREADSAFE | \ - FF_CODEC_CAP_SETS_PKT_DTS | FF_CODEC_CAP_INIT_CLEANUP, \ + FF_CODEC_CAP_INIT_CLEANUP, \ .p.wrapper_name = "v4l2m2m", \ }