summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-24 00:51:40 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-24 00:51:40 +0000
commite44c01563f03bf5cd0b6e59fd32f145db3861b33 (patch)
tree9b2bc01bb182ffd3ac0fb680768c4a1fed40dddd /ffmpeg.c
parent47941088f9d157216e942f6172cd39378493f52d (diff)
Deprecate av_opt_show() in favor of a new function av_opt_show2(),
which allows to specify only a subset of all the options to show. Originally committed as revision 25166 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 2c43494245..9d7b2e53e3 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3905,11 +3905,11 @@ static void show_help(void)
OPT_GRAB,
OPT_GRAB);
printf("\n");
- av_opt_show(avcodec_opts[0], NULL);
+ av_opt_show2(avcodec_opts[0], NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
printf("\n");
- av_opt_show(avformat_opts, NULL);
+ av_opt_show2(avformat_opts, NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
printf("\n");
- av_opt_show(sws_opts, NULL);
+ av_opt_show2(sws_opts, NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
}
static void opt_target(const char *arg)