[FFmpeg-cvslog] r13234 - in trunk: doc/ffserver-doc.texi ffserver.c

takis subversion
Thu May 22 11:48:34 CEST 2008


Author: takis
Date: Thu May 22 11:48:34 2008
New Revision: 13234

Log:
Implement ffserver -version.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it


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

Modified: trunk/doc/ffserver-doc.texi
==============================================================================
--- trunk/doc/ffserver-doc.texi	(original)
+++ trunk/doc/ffserver-doc.texi	Thu May 22 11:48:34 2008
@@ -196,6 +196,8 @@ ffserver [options]
 @section Options
 @c man begin OPTIONS
 @table @option
+ at item -version
+Show version.
 @item -L
 Print the license.
 @item -h

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	(original)
+++ trunk/ffserver.c	Thu May 22 11:48:34 2008
@@ -4349,6 +4349,7 @@ static void opt_show_help(void)
 
 static const OptionDef options[] = {
     { "h", OPT_EXIT, {(void*)opt_show_help}, "show help" },
+    { "version", OPT_EXIT, {(void*)show_version}, "show version" },
     { "L", OPT_EXIT, {(void*)show_license}, "show license" },
     { "n", OPT_BOOL, {(void *)&no_launch }, "enable no-launch mode" },
     { "d", 0, {(void*)opt_debug}, "enable debug mode" },




More information about the ffmpeg-cvslog mailing list