aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-07-09 16:18:19 -0300
committerJames Almer <jamrial@gmail.com>2023-07-11 14:26:43 -0300
commit132271c54e565b05c0bf60202710e7c3e9d1f29f (patch)
treef64f69157e5df1872f0c85b0842c07affdadb3ad
parent823387aa9f7ff9f9c138388bbdfd4152b8511941 (diff)
downloadffmpeg-132271c54e565b05c0bf60202710e7c3e9d1f29f.tar.gz
avcodec/mmaldec: 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/mmaldec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c
index 9bfb6778b6..8d67d10cd9 100644
--- a/libavcodec/mmaldec.c
+++ b/libavcodec/mmaldec.c
@@ -843,8 +843,7 @@ static const AVClass ffmmal_dec_class = {
.flush = ffmmal_flush, \
.p.priv_class = &ffmmal_dec_class, \
.p.capabilities = AV_CODEC_CAP_DELAY | 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 \
.p.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_MMAL, \
AV_PIX_FMT_YUV420P, \
AV_PIX_FMT_NONE}, \