summaryrefslogtreecommitdiff
path: root/fftools/ffprobe.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-08-16 12:08:56 -0300
committerJames Almer <jamrial@gmail.com>2021-08-24 10:00:06 -0300
commit590a7e02f04795ef308240bb13b76f97f916b16e (patch)
tree0d48689b2ba2ec0f40dbdd20fca7c087c03fd6f5 /fftools/ffprobe.c
parent6dd7149f4c35be1378feecbdc1c57090d095201e (diff)
avcodec: add a Film Grain codec property flag
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/ffprobe.c')
-rw-r--r--fftools/ffprobe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index 2e60e47334..acfec09656 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -2656,6 +2656,7 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id
print_int("coded_width", dec_ctx->coded_width);
print_int("coded_height", dec_ctx->coded_height);
print_int("closed_captions", !!(dec_ctx->properties & FF_CODEC_PROPERTY_CLOSED_CAPTIONS));
+ print_int("film_grain", !!(dec_ctx->properties & FF_CODEC_PROPERTY_FILM_GRAIN));
}
print_int("has_b_frames", par->video_delay);
sar = av_guess_sample_aspect_ratio(fmt_ctx, stream, NULL);