gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog utilities/processor.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog utilities/processor.cpp
Date: Sat, 17 Nov 2007 09:32:00 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/11/17 09:32:00

Modified files:
        .              : ChangeLog 
        utilities      : processor.cpp 

Log message:
        Fix -d switch.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4885&r2=1.4886
http://cvs.savannah.gnu.org/viewcvs/gnash/utilities/processor.cpp?cvsroot=gnash&r1=1.68&r2=1.69

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4885
retrieving revision 1.4886
diff -u -b -r1.4885 -r1.4886
--- ChangeLog   17 Nov 2007 09:22:15 -0000      1.4885
+++ ChangeLog   17 Nov 2007 09:31:59 -0000      1.4886
@@ -1,5 +1,6 @@
 2007-11-17 Sandro Santilli <address@hidden>
 
+       * utilities/processor.cpp: fix -d switch.
        * testsuite/swfdec/: Makefile.am, gen_run_swfdec_testsuite.sh:
          Split run of swfdec testsuite in 4 steps, to allow shorter
          timeouts.

Index: utilities/processor.cpp
===================================================================
RCS file: /sources/gnash/gnash/utilities/processor.cpp,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -b -r1.68 -r1.69
--- utilities/processor.cpp     16 Nov 2007 07:50:18 -0000      1.68
+++ utilities/processor.cpp     17 Nov 2007 09:32:00 -0000      1.69
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: processor.cpp,v 1.68 2007/11/16 07:50:18 strk Exp $ */
+/* $Id: processor.cpp,v 1.69 2007/11/17 09:32:00 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -184,7 +184,7 @@
         dbglogfile.setVerbosity();
     }
 
-    while ((c = getopt (argc, argv, ":hwvapr:gf:")) != -1) {
+    while ((c = getopt (argc, argv, ":hwvapr:gf:d:")) != -1) {
        switch (c) {
          case 'h':
              usage (argv[0]);
@@ -224,6 +224,8 @@
              break;
          case 'd':
               delay = atoi(optarg)*1000; // delay is in microseconds
+              // this will be recognized as a request to run at FPS speed
+              if ( delay < 0 ) delay = -1;
              break;
          case 'f':
               limit_advances = strtol(optarg, NULL, 0);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]