[FFmpeg-cvslog] r13246 - in trunk: doc/ffplay-doc.texi ffplay.c

benoit subversion
Fri May 23 09:15:56 CEST 2008


Author: benoit
Date: Fri May 23 09:15:56 2008
New Revision: 13246

Log:
Add -formats option to ffplay.
Patch by Stefano Sabatini stefano sabatini-lala poste it


Modified:
   trunk/doc/ffplay-doc.texi
   trunk/ffplay.c

Modified: trunk/doc/ffplay-doc.texi
==============================================================================
--- trunk/doc/ffplay-doc.texi	(original)
+++ trunk/doc/ffplay-doc.texi	Fri May 23 09:15:56 2008
@@ -35,6 +35,8 @@ show help
 show version
 @item -L
 show license
+ at item -formats
+Show available formats, codecs, protocols, ...
 @item -x @var{width}
 force displayed width
 @item -y @var{height}

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	(original)
+++ trunk/ffplay.c	Fri May 23 09:15:56 2008
@@ -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" },




More information about the ffmpeg-cvslog mailing list