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

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


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Jul  9 16:17:21 2023 -0300| [994dbcdadee642088cd5990ab5f1fd8b926a335b] | committer: James Almer

avcodec/mediacodecdec: 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=994dbcdadee642088cd5990ab5f1fd8b926a335b
---

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

diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c
index 21464900d1..44f55947be 100644
--- a/libavcodec/mediacodecdec.c
+++ b/libavcodec/mediacodecdec.c
@@ -577,8 +577,7 @@ const FFCodec ff_ ## short_name ## _mediacodec_decoder = {
     .flush          = mediacodec_decode_flush,                                                 \
     .close          = mediacodec_decode_close,                                                 \
     .p.capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING | AV_CODEC_CAP_HARDWARE, \
-    .caps_internal  = FF_CODEC_CAP_NOT_INIT_THREADSAFE |                                       \
-                      FF_CODEC_CAP_SETS_PKT_DTS,                                               \
+    .caps_internal  = FF_CODEC_CAP_NOT_INIT_THREADSAFE,                                        \
     .bsfs           = bsf,                                                                     \
     .hw_configs     = mediacodec_hw_configs,                                                   \
     .p.wrapper_name = "mediacodec",                                                            \



More information about the ffmpeg-cvslog mailing list