From 67ed3cddf1d8c663c65f5cb0d442a7cb0aa06538 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 10 Apr 2021 17:23:22 -0300 Subject: ffprobe: only print exported private decoder options Signed-off-by: James Almer --- fftools/ffprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fftools/ffprobe.c') diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 38462e1ff3..8c7b238adf 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2714,7 +2714,7 @@ static int show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_id const AVOption *opt = NULL; while (opt = av_opt_next(dec_ctx->priv_data,opt)) { uint8_t *str; - if (opt->flags) continue; + if (!(opt->flags & AV_OPT_FLAG_EXPORT)) continue; if (av_opt_get(dec_ctx->priv_data, opt->name, 0, &str) >= 0) { print_str(opt->name, str); av_free(str); -- cgit v1.2.3