[FFmpeg-cvslog] avcodec/v4l2_m2m_dec: remove FF_CODEC_CAP_SETS_PKT_DTS flag

James Almer git at videolan.org
Tue Jul 11 20:27:33 EEST 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Jul  9 16:20:44 2023 -0300| [31ae95d988027a61922d47da622bc17357b49af2] | committer: James Almer

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 <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=31ae95d988027a61922d47da622bc17357b49af2
---

 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", \
     }
 



More information about the ffmpeg-cvslog mailing list