aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)