Skip to content

Commit

Permalink
avcodec/mmaldec: remove FF_CODEC_CAP_SETS_PKT_DTS flag
Browse files Browse the repository at this point in the history
It has no effect on receive_frame() decoders.

Signed-off-by: James Almer <[email protected]>
  • Loading branch information
jamrial committed Jul 11, 2023
1 parent 823387a commit 132271c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libavcodec/mmaldec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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}, \
Expand Down

0 comments on commit 132271c

Please sign in to comment.