From: Niklas Haas <[email protected]>
Unused by AV1, but should still be set properly.
---
libavcodec/av1dec.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
index e6346b51dbe..8a5796c757f 100644
--- a/libavcodec/av1dec.c
+++ b/libavcodec/av1dec.c
@@ -1124,6 +1124,10 @@ static int export_film_grain(AVCodecContext *avctx,
AVFrame *frame)
aom->uv_mult_luma[1] = film_grain->cr_luma_mult;
aom->uv_offset[0] = film_grain->cb_offset;
aom->uv_offset[1] = film_grain->cr_offset;
+ aom->color_range = AVCOL_RANGE_UNSPECIFIED;
+ aom->color_primaries = AVCOL_PRI_UNSPECIFIED;
+ aom->color_trc = AVCOL_TRC_UNSPECIFIED;
+ aom->color_space = AVCOL_SPC_UNSPECIFIED;
return 0;
}
--
2.44.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".