diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-08-21 07:00:39 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-08-21 07:00:39 +0000 |
| commit | f19a1f3ea9aa8080b15b384bbe73896e4407ac41 (patch) | |
| tree | 2f011b71c5ec46f64fb83619ad711c25c04edb2b /lib | |
| parent | b0c7cb38b07db5b9b62c92f8bed8ac93e397d355 (diff) | |
| download | qmmp-f19a1f3ea9aa8080b15b384bbe73896e4407ac41.tar.gz qmmp-f19a1f3ea9aa8080b15b384bbe73896e4407ac41.tar.bz2 qmmp-f19a1f3ea9aa8080b15b384bbe73896e4407ac41.zip | |
fixed freezing when seeking
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@117 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/soundcore.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/soundcore.cpp b/lib/soundcore.cpp index 2ccef2ed7..afa03d61f 100644 --- a/lib/soundcore.cpp +++ b/lib/soundcore.cpp @@ -248,15 +248,14 @@ void SoundCore::seek(int pos) { m_output->mutex()->lock (); m_output->seek(pos); - + m_output->mutex()->unlock(); if (m_decoder && m_decoder->isRunning()) { m_decoder->mutex()->lock (); m_decoder->seek(pos); m_decoder->mutex()->unlock(); } - - m_output->mutex()->unlock(); + //m_output->mutex()->unlock(); } } |
