diff options
author | James Almer <jamrial@gmail.com> | 2021-08-16 12:08:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-08-24 10:00:06 -0300 |
commit | 590a7e02f04795ef308240bb13b76f97f916b16e (patch) | |
tree | 0d48689b2ba2ec0f40dbdd20fca7c087c03fd6f5 /libavcodec/avcodec.c | |
parent | 6dd7149f4c35be1378feecbdc1c57090d095201e (diff) |
avcodec: add a Film Grain codec property flag
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.c')
-rw-r--r-- | libavcodec/avcodec.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); } |