aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-02-14 08:06:51 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-02-14 08:06:51 +0000
commit1c04cf0a921cb403862778cd694adb9ecfddb28b (patch)
treeae1cfe8c63776ccf34337cb9964c79d194896adf /src
parentb23f5993f1a3ba7c80df83a1dfd7d541c525306d (diff)
downloadqmmp-1c04cf0a921cb403862778cd694adb9ecfddb28b.tar.gz
qmmp-1c04cf0a921cb403862778cd694adb9ecfddb28b.tar.bz2
qmmp-1c04cf0a921cb403862778cd694adb9ecfddb28b.zip
fixed freezing on playback resume
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4087 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src')
-rw-r--r--src/qmmp/outputwriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmp/outputwriter.cpp b/src/qmmp/outputwriter.cpp
index cb4f81d8f..682318880 100644
--- a/src/qmmp/outputwriter.cpp
+++ b/src/qmmp/outputwriter.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2012 by Ilya Kotov *
+ * Copyright (C) 2012-2014 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -353,7 +353,7 @@ void OutputWriter::run()
memset(b->data, 0, b->nbytes);
l = 0;
m = 0;
- while (l < b->nbytes && !m_pause)
+ while (l < b->nbytes && !m_pause && !m_prev_pause)
{
mutex()->lock();
if(m_skip)