summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-08 12:26:57 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-08 12:28:13 (GMT)
commit94c44ba8d6d1220d00a844d95f9dfb15165ea983 (patch)
treeb4f71776d592d9d36e370a5d9b8d0fef9b56192e /src
parenta92a6ede9c6a13833d1a6c83b863a5e492b2ba9e (diff)
downloadQt-94c44ba8d6d1220d00a844d95f9dfb15165ea983.zip
Qt-94c44ba8d6d1220d00a844d95f9dfb15165ea983.tar.gz
Qt-94c44ba8d6d1220d00a844d95f9dfb15165ea983.tar.bz2
Phonon: Fixed a possible race condition
Task-number: 257495
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/phonon/ds9/mediaobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/ds9/mediaobject.cpp b/src/3rdparty/phonon/ds9/mediaobject.cpp
index 1d0b69d..26ba8eb 100644
--- a/src/3rdparty/phonon/ds9/mediaobject.cpp
+++ b/src/3rdparty/phonon/ds9/mediaobject.cpp
@@ -207,10 +207,10 @@ namespace Phonon
HRESULT hr = S_OK;
+ QMutexLocker locker(&m_mutex);
m_currentRender = w.graph;
m_currentRenderId = w.id;
if (w.task == ReplaceGraph) {
- QMutexLocker locker(&m_mutex);
HANDLE h;
int index = -1;