Commit 7b5cf0a4 authored by Jun Zhao's avatar Jun Zhao Committed by Michael Niedermayer

lavu/opt: add bit stream filter option dump support.

enable dump bit stream filter and update opt fate test ref.
Signed-off-by: 's avatarJun Zhao <mypopydev@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent e0e72539
...@@ -1181,6 +1181,7 @@ static void opt_list(void *obj, void *av_log_obj, const char *unit, ...@@ -1181,6 +1181,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_SUBTITLE_PARAM) ? 'S' : '.'); av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_SUBTITLE_PARAM) ? 'S' : '.');
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_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_READONLY) ? 'R' : '.');
av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_BSF_PARAM) ? 'B' : '.');
if (opt->help) if (opt->help)
av_log(av_log_obj, AV_LOG_INFO, " %s", opt->help); av_log(av_log_obj, AV_LOG_INFO, " %s", opt->help);
......
...@@ -18,31 +18,31 @@ num64=1 ...@@ -18,31 +18,31 @@ num64=1
flt=0.333333 flt=0.333333
dbl=0.333333 dbl=0.333333
TestContext AVOptions: TestContext AVOptions:
-num <int> E....... set num (from 0 to 100) (default 0) -num <int> E........ set num (from 0 to 100) (default 0)
-toggle <int> E....... set toggle (from 0 to 1) (default 1) -toggle <int> E........ set toggle (from 0 to 1) (default 1)
-rational <rational> E....... set rational (from 0 to 10) (default 1/1) -rational <rational> E........ set rational (from 0 to 10) (default 1/1)
-string <string> E....... set string (default "default") -string <string> E........ set string (default "default")
-escape <string> E....... set escape str (default "\=,") -escape <string> E........ set escape str (default "\=,")
-flags <flags> E....... set flags (default cool) -flags <flags> E........ set flags (default cool)
cool E....... set cool flag cool E........ set cool flag
lame E....... set lame flag lame E........ set lame flag
mu E....... set mu flag mu E........ set mu flag
-size <image_size> E....... set size (default "200x300") -size <image_size> E........ set size (default "200x300")
-pix_fmt <pix_fmt> E....... set pixfmt (default 0bgr) -pix_fmt <pix_fmt> E........ set pixfmt (default 0bgr)
-sample_fmt <sample_fmt> E....... set samplefmt (default s16) -sample_fmt <sample_fmt> E........ set samplefmt (default s16)
-video_rate <video_rate> E....... set videorate (default "25") -video_rate <video_rate> E........ set videorate (default "25")
-duration <duration> E....... set duration (default 0.001) -duration <duration> E........ set duration (default 0.001)
-color <color> E....... set color (default "pink") -color <color> E........ set color (default "pink")
-cl <channel_layout> E....... set channel layout (default 0x137) -cl <channel_layout> E........ set channel layout (default 0x137)
-bin <binary> E....... set binary value -bin <binary> E........ set binary value
-bin1 <binary> E....... set binary value -bin1 <binary> E........ set binary value
-bin2 <binary> E....... set binary value -bin2 <binary> E........ set binary value
-num64 <int64> E....... set num 64bit (from 0 to 100) (default 1) -num64 <int64> E........ set num 64bit (from 0 to 100) (default 1)
-flt <float> E....... set float (from 0 to 100) (default 0.333333) -flt <float> E........ set float (from 0 to 100) (default 0.333333)
-dbl <double> E....... set double (from 0 to 100) (default 0.333333) -dbl <double> E........ set double (from 0 to 100) (default 0.333333)
-bool1 <boolean> E....... set boolean value (default auto) -bool1 <boolean> E........ set boolean value (default auto)
-bool2 <boolean> E....... set boolean value (default true) -bool2 <boolean> E........ set boolean value (default true)
-bool3 <boolean> E....... set boolean value (default false) -bool3 <boolean> E........ set boolean value (default false)
Testing av_opt_is_set_to_default() Testing av_opt_is_set_to_default()
name: num default:1 error: name: num default:1 error:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment