[FFmpeg-devel] [PATCH 03/14] avutil/opt: print command flag too

Paul B Mahol onemda at gmail.com
Wed Oct 9 13:16:54 EEST 2019


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavutil/opt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/opt.c b/libavutil/opt.c
index 7c2649725f..5bc70f7ffc 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -1217,6 +1217,7 @@ static void opt_list(void *obj, void *av_log_obj, const char *unit,
         av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_EXPORT)         ? 'X' : '.');
         av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_READONLY)       ? 'R' : '.');
         av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_BSF_PARAM)      ? 'B' : '.');
+        av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_COMMAND_PARAM)  ? 'C' : '.');
 
         if (opt->help)
             av_log(av_log_obj, AV_LOG_INFO, " %s", opt->help);
-- 
2.17.1



More information about the ffmpeg-devel mailing list