[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: |
Gabriele Giacone |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1964-g0eda801 |
Date: |
Mon, 28 Apr 2014 09:06:44 +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 0eda8017de798ccb156d2bc5d78fc5d862f15a76 (commit)
from 63de409c6d337fc0e5dea9ec98b85e09038757ca (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=0eda8017de798ccb156d2bc5d78fc5d862f15a76
commit 0eda8017de798ccb156d2bc5d78fc5d862f15a76
Author: Gabriele Giacone <address@hidden>
Date: Mon Apr 28 11:02:32 2014 +0200
Fix gprocessor run with --enable-sound=none.
diff --git a/utilities/processor.cpp b/utilities/processor.cpp
index cea7a21..6690a77 100644
--- a/utilities/processor.cpp
+++ b/utilities/processor.cpp
@@ -436,9 +436,11 @@ bool
play_movie(const std::string& filename, const RunResources& runResources)
{
+#if USE_SOUND
sound::sound_handler* sh = runResources.soundHandler();
sh->reset();
SamplesFetcher sFetcher(*sh);
+#endif
boost::intrusive_ptr<gnash::movie_definition> md;
@@ -530,7 +532,9 @@ play_movie(const std::string& filename, const RunResources&
runResources)
//printf("advancing clock by %lu\n", clockAdvance);
cl.advance(clockAdvance);
m.advance();
+#if USE_SOUND
sFetcher.fetch(cl.elapsed());
+#endif
if ( quitrequested )
{
-----------------------------------------------------------------------
Summary of changes:
utilities/processor.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1964-g0eda801,
Gabriele Giacone <=