gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, noise, updated. release_0_8_9_final-1


From: Rob Savoye
Subject: [Gnash-commit] [SCM] Gnash branch, noise, updated. release_0_8_9_final-1234-g5d546de
Date: Sun, 30 Oct 2011 14:37:39 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, noise has been updated
       via  5d546de608127a70d10539261e836d0bdfa0b968 (commit)
      from  311abd475fcc86afa891b2087bf2661866d2d6b0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=5d546de608127a70d10539261e836d0bdfa0b968


commit 5d546de608127a70d10539261e836d0bdfa0b968
Author: Rob Savoye <address@hidden>
Date:   Sun Oct 30 08:37:09 2011 -0600

    Use the default of 10ms for low framerate files

diff --git a/gui/Player.cpp b/gui/Player.cpp
index 1212061..7a6fe0b 100644
--- a/gui/Player.cpp
+++ b/gui/Player.cpp
@@ -544,8 +544,12 @@ Player::run(int argc, char* argv[], const std::string& 
infile,
     if (! _delay) {
         // 10ms per heart beat
         float fps = _movieDef->get_frame_rate();
-        _delay = static_cast<int>(1000/fps);
-//        _delay = 10; 
+        log_debug("Movie Frame Rate is %d, adjusting delay", fps);
+        if (fps > 12) {
+            _delay = static_cast<int>(1000/fps);
+        } else {
+            _delay = 10;
+        }
     }
     _gui->setInterval(_delay);
 

-----------------------------------------------------------------------

Summary of changes:
 gui/Player.cpp |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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