From f19a1f3ea9aa8080b15b384bbe73896e4407ac41 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 21 Aug 2007 07:00:39 +0000 Subject: fixed freezing when seeking git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@117 90c681e8-e032-0410-971d-27865f9a5e38 --- lib/soundcore.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/soundcore.cpp') 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(); } } -- cgit v1.2.3-13-gbd6f