aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-07-09 16:17:21 -0300
committerJames Almer <jamrial@gmail.com>2023-07-11 14:26:43 -0300
commit994dbcdadee642088cd5990ab5f1fd8b926a335b (patch)
tree191f6ec7e975a39c6b7e1971ff273ecb06bf3e25
parent5ad78a26848ec8ab3eba42c546e9742374795749 (diff)
downloadffmpeg-994dbcdadee642088cd5990ab5f1fd8b926a335b.tar.gz
avcodec/mediacodecdec: remove FF_CODEC_CAP_SETS_PKT_DTS flag
It has no effect on receive_frame() decoders. Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/mediacodecdec.c3
1 files changed, 1 insertions, 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", \