[FFmpeg-cvslog] r19581 - trunk/ffplay.c

benoit subversion
Tue Aug 4 11:26:33 CEST 2009


Author: benoit
Date: Tue Aug  4 11:26:33 2009
New Revision: 19581

Log:
Make 'stats' a bool option again.
To disable stats, use -nostats option.

Modified:
   trunk/ffplay.c

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	Tue Aug  4 09:42:55 2009	(r19580)
+++ trunk/ffplay.c	Tue Aug  4 11:26:33 2009	(r19581)
@@ -2495,7 +2495,7 @@ static const OptionDef options[] = {
     { "nodisp", OPT_BOOL, {(void*)&display_disable}, "disable graphical display" },
     { "f", HAS_ARG, {(void*)opt_format}, "force format", "fmt" },
     { "pix_fmt", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_frame_pix_fmt}, "set pixel format", "format" },
-    { "stats", HAS_ARG | OPT_INT | OPT_EXPERT, {(void*)&show_status}, "show status", "" },
+    { "stats", OPT_BOOL | OPT_EXPERT, {(void*)&show_status}, "show status", "" },
     { "debug", HAS_ARG | OPT_FUNC2 | OPT_EXPERT, {(void*)opt_debug}, "print specific debug info", "" },
     { "bug", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&workaround_bugs}, "workaround bugs", "" },
     { "vismv", HAS_ARG | OPT_FUNC2 | OPT_EXPERT, {(void*)opt_vismv}, "visualize motion vectors", "" },



More information about the ffmpeg-cvslog mailing list