diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-05-10 20:43:32 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-05-10 20:43:32 +0000 |
| commit | 8ccb8a92c2a339eddd8c941d9bd7ce98d2aa236f (patch) | |
| tree | 28263f4ee43fd03c792508999571d387ce428184 | |
| parent | 5d3d0f446a475be798a0be4887213fafd1b89c24 (diff) | |
| download | qmmp-8ccb8a92c2a339eddd8c941d9bd7ce98d2aa236f.tar.gz qmmp-8ccb8a92c2a339eddd8c941d9bd7ce98d2aa236f.tar.bz2 qmmp-8ccb8a92c2a339eddd8c941d9bd7ce98d2aa236f.zip | |
fixed regression
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7159 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/qmmp/qmmpaudioengine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmp/qmmpaudioengine.cpp b/src/qmmp/qmmpaudioengine.cpp index 8b271c255..479b6e240 100644 --- a/src/qmmp/qmmpaudioengine.cpp +++ b/src/qmmp/qmmpaudioengine.cpp @@ -545,7 +545,7 @@ void QmmpAudioEngine::run() if (m_output) { - if(m_user_stop) + if(m_user_stop || (m_done && !m_finish)) { m_output->mutex()->lock (); m_output->stop(); @@ -553,7 +553,7 @@ void QmmpAudioEngine::run() m_output->mutex()->unlock(); } - if((m_user_stop || m_finish) && m_output->isRunning()) + if(m_output->isRunning()) { m_output->wait(); } |
