]> git.sesse.net Git - ffmpeg/blobdiff - fftools/ffprobe.c
ffprobe: only print exported private decoder options
[ffmpeg] / fftools / ffprobe.c
index 38462e1ff37ad03ef94fe39f279a6d5509703942..8c7b238adf606dccce0406e4f3b78253819dfb4f 100644 (file)
@@ -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);