Merge remote-tracking branch 'qatar/master'
* qatar/master:
AVOptions: fix av_set_string3() doxy to match reality.
cmdutils: get rid of dummy contexts for examining AVOptions.
lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.
AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().
cpu detection: avoid a signed overflow
Conflicts:
avconv.c
cmdutils.c
doc/APIchanges
ffmpeg.c
libavcodec/options.c
libavcodec/version.h
libavformat/version.h
libavutil/avutil.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
10
ffmpeg.c
10
ffmpeg.c
@@ -4021,6 +4021,7 @@ static int opt_help(const char *opt, const char *arg)
|
||||
AVCodec *c;
|
||||
AVOutputFormat *oformat = NULL;
|
||||
AVInputFormat *iformat = NULL;
|
||||
const AVClass *class;
|
||||
|
||||
av_log_set_callback(log_callback_help);
|
||||
show_usage();
|
||||
@@ -4048,7 +4049,8 @@ static int opt_help(const char *opt, const char *arg)
|
||||
OPT_GRAB,
|
||||
OPT_GRAB);
|
||||
printf("\n");
|
||||
av_opt_show2(avcodec_opts[0], NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
|
||||
class = avcodec_get_class();
|
||||
av_opt_show2(&class, NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
|
||||
printf("\n");
|
||||
|
||||
/* individual codec options */
|
||||
@@ -4060,7 +4062,8 @@ static int opt_help(const char *opt, const char *arg)
|
||||
}
|
||||
}
|
||||
|
||||
av_opt_show2(avformat_opts, NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
|
||||
class = avformat_get_class();
|
||||
av_opt_show2(&class, NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
|
||||
printf("\n");
|
||||
|
||||
/* individual muxer options */
|
||||
@@ -4079,7 +4082,8 @@ static int opt_help(const char *opt, const char *arg)
|
||||
}
|
||||
}
|
||||
|
||||
av_opt_show2(sws_opts, NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
|
||||
class = sws_get_class();
|
||||
av_opt_show2(&class, NULL, AV_OPT_FLAG_ENCODING_PARAM|AV_OPT_FLAG_DECODING_PARAM, 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user