summaryrefslogtreecommitdiff
path: root/libavcodec/av1dec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-07-09 16:16:49 -0300
committerJames Almer <jamrial@gmail.com>2023-07-11 14:26:43 -0300
commit62cb9d97c1f9a655d3d144d7cb2b1145f890ef20 (patch)
treef95e83b91fa68334507f3b083ba0f646782f54de /libavcodec/av1dec.c
parent1b45405d4419d81a6ec03515129ca4bf278b9eff (diff)
avcodec/av1dec: remove FF_CODEC_CAP_SETS_PKT_DTS flag
It has no effect on receive_frame() decoders. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/av1dec.c')
-rw-r--r--libavcodec/av1dec.c3
1 files changed, 1 insertions, 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,