ffmpeg | branch: master | James Almer <[email protected]> | Mon Jun 21 15:26:44 
2021 -0300| [ec8e95296ec069ddf29f479b62accb49ac18e8a8] | committer: James Almer

avcodec/crystalhd: signal that the decoder sets all output frame properties

Signed-off-by: James Almer <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ec8e95296ec069ddf29f479b62accb49ac18e8a8
---

 libavcodec/crystalhd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c
index f709cf74a7..0238ab7378 100644
--- a/libavcodec/crystalhd.c
+++ b/libavcodec/crystalhd.c
@@ -780,6 +780,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", \
     };

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to