diff options
author | James Almer <jamrial@gmail.com> | 2021-06-21 15:26:44 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-06-23 11:24:56 -0300 |
commit | 3f06be77acc85d9918b28027ce7b74fe392ddf93 (patch) | |
tree | 8edfe9dc8767d0ca60efd0d16f30a2d93a31209d | |
parent | 6136f1398a8b340b3630cf5490d6d75274221591 (diff) | |
download | ffmpeg-3f06be77acc85d9918b28027ce7b74fe392ddf93.tar.gz |
avcodec/crystalhd: signal that the decoder sets all output frame properties
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit ec8e95296ec069ddf29f479b62accb49ac18e8a8)
-rw-r--r-- | libavcodec/crystalhd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c index 228803183a..886488602e 100644 --- a/libavcodec/crystalhd.c +++ b/libavcodec/crystalhd.c @@ -785,6 +785,7 @@ static int crystalhd_receive_frame(AVCodecContext *avctx, AVFrame *frame) .flush = flush, \ .bsfs = bsf_name, \ .capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AVOID_PROBING | AV_CODEC_CAP_HARDWARE, \ + .caps_internal = FF_CODEC_CAP_SETS_FRAME_PROPS, \ .pix_fmts = (const enum AVPixelFormat[]){AV_PIX_FMT_YUYV422, AV_PIX_FMT_NONE}, \ .wrapper_name = "crystalhd", \ }; |