summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/ds9/iodevicereader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/phonon/ds9/iodevicereader.cpp')
-rw-r--r--src/3rdparty/phonon/ds9/iodevicereader.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/3rdparty/phonon/ds9/iodevicereader.cpp b/src/3rdparty/phonon/ds9/iodevicereader.cpp
index 695af59..d706c82 100644
--- a/src/3rdparty/phonon/ds9/iodevicereader.cpp
+++ b/src/3rdparty/phonon/ds9/iodevicereader.cpp
@@ -107,9 +107,6 @@ namespace Phonon
HRESULT read(LONGLONG pos, LONG length, BYTE *buffer, LONG *actual)
{
Q_ASSERT(!m_mutex.tryLock());
- if (m_mediaGraph->isStopping()) {
- return VFW_E_WRONG_STATE;
- }
if(m_size != 1 && pos + length > m_size) {
//it tries to read outside of the boundaries
@@ -128,9 +125,6 @@ namespace Phonon
int oldSize = m_buffer.size();
while (m_buffer.size() < int(length)) {
needData();
- if (m_mediaGraph->isStopping()) {
- return VFW_E_WRONG_STATE;
- }
if (oldSize == m_buffer.size()) {
break; //we didn't get any data