[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. 6895d3b0542e1ac28a3e
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. 6895d3b0542e1ac28a3e37dd150187dacb66195d |
Date: |
Mon, 23 Aug 2010 19:33:25 +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 6895d3b0542e1ac28a3e37dd150187dacb66195d (commit)
from 9b05584be0d3ca48d1ec3a01ccadad878de1ef45 (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=6895d3b0542e1ac28a3e37dd150187dacb66195d
commit 6895d3b0542e1ac28a3e37dd150187dacb66195d
Author: strk <address@hidden>
Date: Mon Aug 23 05:47:50 2010 +0200
Re-introduce the nap between media chunk parsing
diff --git a/libmedia/MediaParser.cpp b/libmedia/MediaParser.cpp
index 5730b4f..74bbd9a 100644
--- a/libmedia/MediaParser.cpp
+++ b/libmedia/MediaParser.cpp
@@ -411,6 +411,12 @@ MediaParser::parserLoop()
while (!parserThreadKillRequested())
{
parseNextChunk();
+ gnashSleep(100); // thread switch
+
+ // check for parsing complete
+ // TODO: have a setParsingComplete() function
+ // exposed in base class for taking care
+ // of this on appropriate time.
boost::mutex::scoped_lock lock(_qMutex);
waitIfNeeded(lock);
}
-----------------------------------------------------------------------
Summary of changes:
libmedia/MediaParser.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. 6895d3b0542e1ac28a3e37dd150187dacb66195d,
Sandro Santilli <=