[SCM] libav/experimental: Implement ffplay -L. 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:20:59 UTC 2013


The following commit has been merged in the experimental branch:
commit 8fdea2042e9fa1d613b7cb0fdcfae1cf025d3d37
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Thu May 22 09:49:18 2008 +0000

    Implement ffplay -L.
    Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
    
    Originally committed as revision 13235 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/doc/ffplay-doc.texi b/doc/ffplay-doc.texi
index b4bbcc1..e9a524a 100644
--- a/doc/ffplay-doc.texi
+++ b/doc/ffplay-doc.texi
@@ -33,6 +33,8 @@ ffplay [options] @file{input_file}
 show help
 @item -version
 show version
+ at item -L
+show license
 @item -x @var{width}
 force displayed width
 @item -y @var{height}
diff --git a/ffplay.c b/ffplay.c
index 54b6e41..d8e61b5 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2435,6 +2435,7 @@ static int opt_thread_count(const char *opt, const char *arg)
 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" },
     { "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