aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-05-23 07:15:56 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-05-23 07:15:56 +0000
commita28b7ed48870a643d210a4a5cc951a60486665db (patch)
tree73450762b8de8c41ac9c4155949f310abeddddf1 /ffplay.c
parentf346033e9d7135fddc6cc4f507d8ade846d22168 (diff)
downloadffmpeg-a28b7ed48870a643d210a4a5cc951a60486665db.tar.gz
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
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index d8e61b5a9c..62915d2e65 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2436,6 +2436,7 @@ static const OptionDef options[] = {
{ "h", OPT_EXIT, {(void*)show_help}, "show help" },
{ "version", OPT_EXIT, {(void*)show_version}, "show version" },
{ "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" },
{ "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" },