summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/phonon')
-rw-r--r--src/3rdparty/phonon/ds9/iodevicereader.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/3rdparty/phonon/ds9/iodevicereader.cpp b/src/3rdparty/phonon/ds9/iodevicereader.cpp
index 2dff1fe..9152712 100644
--- a/src/3rdparty/phonon/ds9/iodevicereader.cpp
+++ b/src/3rdparty/phonon/ds9/iodevicereader.cpp
@@ -139,10 +139,6 @@ namespace Phonon
{
QMutexLocker locker(&m_mutexRead);
- if (m_mediaGraph->isStopping()) {
- return VFW_E_WRONG_STATE;
- }
-
if(streamSize() != 1 && pos + length > streamSize()) {
//it tries to read outside of the boundaries
return E_FAIL;
@@ -158,9 +154,6 @@ namespace Phonon
int oldSize = currentBufferSize();
while (currentBufferSize() < int(length)) {
needData();
- if (m_mediaGraph->isStopping()) {
- return VFW_E_WRONG_STATE;
- }
if (oldSize == currentBufferSize()) {
break; //we didn't get any data