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

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


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Jul  9 16:16:49 2023 -0300| [62cb9d97c1f9a655d3d144d7cb2b1145f890ef20] | committer: James Almer

avcodec/av1dec: 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=62cb9d97c1f9a655d3d144d7cb2b1145f890ef20
---

 libavcodec/av1dec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
index e7f98a6c81..cc178464b9 100644
--- a/libavcodec/av1dec.c
+++ b/libavcodec/av1dec.c
@@ -1527,8 +1527,7 @@ const FFCodec ff_av1_decoder = {
     .close                 = av1_decode_free,
     FF_CODEC_RECEIVE_FRAME_CB(av1_receive_frame),
     .p.capabilities        = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_AVOID_PROBING,
-    .caps_internal         = FF_CODEC_CAP_INIT_CLEANUP |
-                             FF_CODEC_CAP_SETS_PKT_DTS,
+    .caps_internal         = FF_CODEC_CAP_INIT_CLEANUP,
     .flush                 = av1_decode_flush,
     .p.profiles            = NULL_IF_CONFIG_SMALL(ff_av1_profiles),
     .p.priv_class          = &av1_class,



More information about the ffmpeg-cvslog mailing list