[Top][All Lists]
[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-1175-g80baf93 |
Date: |
Wed, 14 Sep 2011 00:08:11 +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 80baf93137dacc802609ddf3eef520c4e9c1d2d7 (commit)
via 40e8f708b49b71839681973923efbe72d5247962 (commit)
via 0b5fc40fd9e48b569b4467281b463f1d3451ce6d (commit)
from 16b7a3aeac7957b4aee5f01c7af1e573f6e3396d (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=80baf93137dacc802609ddf3eef520c4e9c1d2d7
commit 80baf93137dacc802609ddf3eef520c4e9c1d2d7
Author: Rob Savoye <address@hidden>
Date: Tue Sep 13 18:00:25 2011 -0600
set the delay back to 10ms
diff --git a/gui/Player.cpp b/gui/Player.cpp
index 29eaeab..e248b92 100644
--- a/gui/Player.cpp
+++ b/gui/Player.cpp
@@ -419,12 +419,12 @@ Player::run(int argc, char* argv[], const std::string&
infile,
/// The StreamProvider uses the actual URL of the loaded movie.
boost::shared_ptr<StreamProvider> sp(new StreamProvider(_url, baseURL,
np));
-
_runResources->setStreamProvider(sp);
// Set the Hardware video decoding resources. none, vaapi, omap
_runResources->setHWAccelBackend(_hwaccel);
- // Set the Renderer resource, opengl, agg, or cairo
+
+ // Set the Renderer resource, opengl, openvg, agg, or cairo
_runResources->setRenderBackend(_renderer);
_mediaHandler.reset(media::MediaFactory::instance().get(_media));
@@ -542,8 +542,8 @@ Player::run(int argc, char* argv[], const std::string&
infile,
_movieDef->completeLoad();
if (! _delay) {
- // 50ms per heart beat, which works out to be about 20fps
- _delay = 50;
+ // 10ms per heart beat
+ _delay = 10;
}
_gui->setInterval(_delay);
@@ -636,7 +636,8 @@ Player::run(int argc, char* argv[], const std::string&
infile,
}
if (!last && v.empty()) return;
- std::auto_ptr<ScreenShotter> ss(new ScreenShotter(_screenshotFile,
_screenshotQuality));
+ std::auto_ptr<ScreenShotter> ss(new ScreenShotter(_screenshotFile,
+ _screenshotQuality));
if (last) ss->lastFrame();
ss->setFrames(v);
_gui->setScreenShotter(ss);
http://git.savannah.gnu.org/cgit//commit/?id=40e8f708b49b71839681973923efbe72d5247962
commit 40e8f708b49b71839681973923efbe72d5247962
Author: Rob Savoye <address@hidden>
Date: Tue Sep 13 17:58:40 2011 -0600
use a regualr iterator instead of std::for_each, so we can do loop through
all the liveChars only once
diff --git a/libcore/movie_root.cpp b/libcore/movie_root.cpp
index 52e9101..c652de7 100644
--- a/libcore/movie_root.cpp
+++ b/libcore/movie_root.cpp
@@ -2056,11 +2056,12 @@ movie_root::advanceLiveChars()
"the global list", _liveChars.size());
#endif
- std::for_each(_liveChars.begin(), _liveChars.end(),
- boost::bind(advanceLiveChar, _1));
-
- std::for_each(_liveChars.begin(), _liveChars.end(),
- boost::bind(notifyLoad, _1));
+ // Iterate through the array once, instead of twice like it used to be.
+ LiveChars::iterator it;
+ for (it=_liveChars.begin(); it != _liveChars.end(); ++it) {
+ advanceLiveChar(*it);
+ notifyLoad(*it);
+ }
}
void
@@ -2591,7 +2592,7 @@ advanceLiveChar(MovieClip* mo)
{
if (!mo->unloaded()) {
#ifdef GNASH_DEBUG
- log_debug(" advancing DisplayObject %s", ch->getTarget());
+ log_debug(" advancing DisplayObject %s", mo->getTarget());
#endif
mo->advance();
}
http://git.savannah.gnu.org/cgit//commit/?id=0b5fc40fd9e48b569b4467281b463f1d3451ce6d
commit 0b5fc40fd9e48b569b4467281b463f1d3451ce6d
Author: Rob Savoye <address@hidden>
Date: Tue Sep 13 14:56:46 2011 -0600
only look for an invoke packet if _controlfd is actually set
diff --git a/libcore/movie_root.cpp b/libcore/movie_root.cpp
index 2ae29c5..52e9101 100644
--- a/libcore/movie_root.cpp
+++ b/libcore/movie_root.cpp
@@ -1553,7 +1553,7 @@ movie_root::executeAdvanceCallbacks()
// _controlfd is set when running as a child process of a hosting
// application. If it is set, we have to check the socket connection
// for XML messages.
- if (_controlfd) {
+ if (_controlfd > 0) {
boost::shared_ptr<ExternalInterface::invoke_t> invoke =
ExternalInterface::ExternalEventCheck(_controlfd);
if (invoke) {
-----------------------------------------------------------------------
Summary of changes:
gui/Player.cpp | 11 ++++++-----
libcore/movie_root.cpp | 15 ++++++++-------
2 files changed, 14 insertions(+), 12 deletions(-)
hooks/post-receive
--
Gnash
- [Gnash-commit] [SCM] Gnash branch, noise, updated. release_0_8_9_final-1175-g80baf93,
Rob Savoye <=