diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-11-19 22:13:55 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-12-05 09:00:53 +0800 |
commit | 48235c826362d8806ca07efe016d3dc46f9a52cd (patch) | |
tree | e0c961bfca052c51538938477131341b48941c61 /libavutil | |
parent | e6ae498234be9a841868cd5aa402be3c9292f618 (diff) |
avutil/opt: add AV_OPT_FLAG_DEPRECATED option
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/opt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c index c8413fa5e1..590146b5fb 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1245,6 +1245,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_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_RUNTIME_PARAM) ? 'T' : '.'); + av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_DEPRECATED) ? 'P' : '.'); if (opt->help) av_log(av_log_obj, AV_LOG_INFO, " %s", opt->help); |