From 590a7e02f04795ef308240bb13b76f97f916b16e Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 16 Aug 2021 12:08:56 -0300 Subject: avcodec: add a Film Grain codec property flag Signed-off-by: James Almer --- libavcodec/avcodec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/avcodec.c') diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c index 6d60026c07..2dd7dd84e0 100644 --- a/libavcodec/avcodec.c +++ b/libavcodec/avcodec.c @@ -658,6 +658,8 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode) } else { if (enc->properties & FF_CODEC_PROPERTY_CLOSED_CAPTIONS) av_bprintf(&bprint, ", Closed Captions"); + if (enc->properties & FF_CODEC_PROPERTY_FILM_GRAIN) + av_bprintf(&bprint, ", Film Grain"); if (enc->properties & FF_CODEC_PROPERTY_LOSSLESS) av_bprintf(&bprint, ", lossless"); } -- cgit v1.2.3