[SCM] libav/experimental: Add -formats option to ffplay. Patch by Stefano Sabatini stefano sabatini-lala poste it

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:21:02 UTC 2013


The following commit has been merged in the experimental branch:
commit a28b7ed48870a643d210a4a5cc951a60486665db
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Fri May 23 07:15:56 2008 +0000

    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

diff --git a/doc/ffplay-doc.texi b/doc/ffplay-doc.texi
index e9a524a..a7e7eb8 100644
--- a/doc/ffplay-doc.texi
+++ b/doc/ffplay-doc.texi
@@ -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}
diff --git a/ffplay.c b/ffplay.c
index d8e61b5..62915d2 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" },

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list