diff options
author | James Almer <jamrial@gmail.com> | 2021-04-10 17:23:22 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-14 20:05:16 -0300 |
commit | 67ed3cddf1d8c663c65f5cb0d442a7cb0aa06538 (patch) | |
tree | 96427e464e33cbf1d5ea27f3a069563242fc4364 /fftools/ffprobe.c | |
parent | ebdc7d78c9e32bd69c6c346c98805e14c1ad28e1 (diff) | |
download | ffmpeg-67ed3cddf1d8c663c65f5cb0d442a7cb0aa06538.tar.gz |
ffprobe: only print exported private decoder options
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/ffprobe.c')
-rw-r--r-- | fftools/ffprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |