Add -formats option to ffplay.
Patch by Stefano Sabatini stefano sabatini-lala poste it Originally committed as revision 13246 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f346033e9d
commit
a28b7ed488
@ -35,6 +35,8 @@ show help
|
|||||||
show version
|
show version
|
||||||
@item -L
|
@item -L
|
||||||
show license
|
show license
|
||||||
|
@item -formats
|
||||||
|
Show available formats, codecs, protocols, ...
|
||||||
@item -x @var{width}
|
@item -x @var{width}
|
||||||
force displayed width
|
force displayed width
|
||||||
@item -y @var{height}
|
@item -y @var{height}
|
||||||
|
1
ffplay.c
1
ffplay.c
@ -2436,6 +2436,7 @@ static const OptionDef options[] = {
|
|||||||
{ "h", OPT_EXIT, {(void*)show_help}, "show help" },
|
{ "h", OPT_EXIT, {(void*)show_help}, "show help" },
|
||||||
{ "version", OPT_EXIT, {(void*)show_version}, "show version" },
|
{ "version", OPT_EXIT, {(void*)show_version}, "show version" },
|
||||||
{ "L", OPT_EXIT, {(void*)show_license}, "show license" },
|
{ "L", OPT_EXIT, {(void*)show_license}, "show license" },
|
||||||
|
{ "formats", OPT_EXIT, {(void*)show_formats}, "show available formats, codecs, protocols, ..." },
|
||||||
{ "x", HAS_ARG | OPT_FUNC2, {(void*)opt_width}, "force displayed width", "width" },
|
{ "x", HAS_ARG | OPT_FUNC2, {(void*)opt_width}, "force displayed width", "width" },
|
||||||
{ "y", HAS_ARG | OPT_FUNC2, {(void*)opt_height}, "force displayed height", "height" },
|
{ "y", HAS_ARG | OPT_FUNC2, {(void*)opt_height}, "force displayed height", "height" },
|
||||||
{ "s", HAS_ARG | OPT_VIDEO, {(void*)opt_frame_size}, "set frame size (WxH or abbreviation)", "size" },
|
{ "s", HAS_ARG | OPT_VIDEO, {(void*)opt_frame_size}, "set frame size (WxH or abbreviation)", "size" },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user