mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-25 04:19:05 +00:00
Make ffplay -h show the settable AVOptions.
Originally committed as revision 25167 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e44c01563f
commit
f66eb58ec4
12
ffplay.c
12
ffplay.c
@ -3103,11 +3103,23 @@ static void show_usage(void)
|
|||||||
|
|
||||||
static void show_help(void)
|
static void show_help(void)
|
||||||
{
|
{
|
||||||
|
av_log_set_callback(log_callback_help);
|
||||||
show_usage();
|
show_usage();
|
||||||
show_help_options(options, "Main options:\n",
|
show_help_options(options, "Main options:\n",
|
||||||
OPT_EXPERT, 0);
|
OPT_EXPERT, 0);
|
||||||
show_help_options(options, "\nAdvanced options:\n",
|
show_help_options(options, "\nAdvanced options:\n",
|
||||||
OPT_EXPERT, OPT_EXPERT);
|
OPT_EXPERT, OPT_EXPERT);
|
||||||
|
printf("\n");
|
||||||
|
av_opt_show2(avcodec_opts[0], NULL,
|
||||||
|
AV_OPT_FLAG_DECODING_PARAM, 0);
|
||||||
|
printf("\n");
|
||||||
|
av_opt_show2(avformat_opts, NULL,
|
||||||
|
AV_OPT_FLAG_DECODING_PARAM, 0);
|
||||||
|
#if !CONFIG_AVFILTER
|
||||||
|
printf("\n");
|
||||||
|
av_opt_show2(sws_opts, NULL,
|
||||||
|
AV_OPT_FLAG_ENCODING_PARAM, 0);
|
||||||
|
#endif
|
||||||
printf("\nWhile playing:\n"
|
printf("\nWhile playing:\n"
|
||||||
"q, ESC quit\n"
|
"q, ESC quit\n"
|
||||||
"f toggle full screen\n"
|
"f toggle full screen\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user