From 994dbcdadee642088cd5990ab5f1fd8b926a335b Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 9 Jul 2023 16:17:21 -0300 Subject: [PATCH] avcodec/mediacodecdec: remove FF_CODEC_CAP_SETS_PKT_DTS flag It has no effect on receive_frame() decoders. Signed-off-by: James Almer --- 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", \