gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Sandro Santilli
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-279-g8206b47
Date: Tue, 19 Apr 2011 13:42:38 +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, master has been updated
       via  8206b4714302874fdc9204b019c8df18d0e335e0 (commit)
      from  4f5c52fedd80d27dbbb97cd2665f9868c61f1eb4 (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=8206b4714302874fdc9204b019c8df18d0e335e0


commit 8206b4714302874fdc9204b019c8df18d0e335e0
Author: Sandro Santilli <address@hidden>
Date:   Fri Apr 15 18:51:19 2011 +0200

    Add interface to get nominal frame rate from MovieTester

diff --git a/testsuite/MovieTester.cpp b/testsuite/MovieTester.cpp
index fc2f8e6..3a552d3 100644
--- a/testsuite/MovieTester.cpp
+++ b/testsuite/MovieTester.cpp
@@ -623,6 +623,12 @@ MovieTester::restart()
     render();
 }
 
+float
+MovieTester::getFrameRate() const
+{
+    return _movie_def->get_frame_rate();
+}
+
 namespace {
     
 /// Returns the average RGB color for a square block on the stage. The 
diff --git a/testsuite/MovieTester.h b/testsuite/MovieTester.h
index 1451b89..b34932b 100644
--- a/testsuite/MovieTester.h
+++ b/testsuite/MovieTester.h
@@ -169,6 +169,9 @@ public:
                return const_cast<Movie*>(&_movie_root->getRootMovie());
        }
 
+       /// Get the nominal frame rate of the movie associated with this run
+       float getFrameRate() const;
+
        /// Notify mouse pointer movement to the given coordinate
        //
        /// Coordinates are in pixels

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

Summary of changes:
 testsuite/MovieTester.cpp |    6 ++++++
 testsuite/MovieTester.h   |    3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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