[FFmpeg-devel] [PATCH 6/7] avcodec/v4l2_m2m_dec: remove FF_CODEC_CAP_SETS_PKT_DTS flag

James Almer jamrial at gmail.com
Sun Jul 9 22:21:09 EEST 2023


It has no effect on receive_frame() decoders.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 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", \
     }
 
-- 
2.41.0



More information about the ffmpeg-devel mailing list