Signed-off-by: James Almer <jamr...@gmail.com>
---
 libavcodec/libdav1d.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c
index 8a816da34d..2ee75310d7 100644
--- a/libavcodec/libdav1d.c
+++ b/libavcodec/libdav1d.c
@@ -157,6 +157,9 @@ static void libdav1d_init_params(AVCodecContext *c, const 
Dav1dSequenceHeader *s
         if (seq->equal_picture_interval)
             c->ticks_per_frame = seq->num_ticks_per_picture;
     }
+
+   if (seq->film_grain_present)
+       c->properties |= FF_CODEC_PROPERTY_FILM_GRAIN;
 }
 
 static av_cold int libdav1d_parse_extradata(AVCodecContext *c)
-- 
2.32.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to