Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2011-01-02 19:00:47 +0300
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2011-01-02 19:00:47 +0300
commitef2b2243dc1e258e77dac6d702d3c1ec1b2bcc6f (patch)
treef869e6ea83add24ff4fd7ed1fd93592a13fe579b /ffmpeg.c
parent815495f0405d929b522ff948584ecd1de3662487 (diff)
Use AVOption for muxers in ffmpeg.
Patch by Anssi Hannula, anssi d hannula d iki d fi Originally committed as revision 26199 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 87f6d99d82..875a1f42f2 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3904,6 +3904,7 @@ static void show_usage(void)
static void show_help(void)
{
AVCodec *c;
+ AVOutputFormat *oformat = NULL;
av_log_set_callback(log_callback_help);
show_usage();
@@ -3945,6 +3946,15 @@ static void show_help(void)
av_opt_show2(avformat_opts, NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
printf("\n");
+
+ /* individual muxer options */
+ while ((oformat = av_oformat_next(oformat))) {
+ if (oformat->priv_class) {
+ av_opt_show2(&oformat->priv_class, NULL, AV_OPT_FLAG_ENCODING_PARAM, 0);
+ printf("\n");
+ }
+ }
+
av_opt_show2(sws_opts, NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
}