summaryrefslogtreecommitdiff
path: root/src/libw32dll/dmo/DMO_VideoDecoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libw32dll/dmo/DMO_VideoDecoder.c')
-rw-r--r--src/libw32dll/dmo/DMO_VideoDecoder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libw32dll/dmo/DMO_VideoDecoder.c b/src/libw32dll/dmo/DMO_VideoDecoder.c
index d32653edd..aba62ee63 100644
--- a/src/libw32dll/dmo/DMO_VideoDecoder.c
+++ b/src/libw32dll/dmo/DMO_VideoDecoder.c
@@ -320,7 +320,9 @@ int DMO_VideoDecoder_DecodeInternal(DMO_VideoDecoder *this, const void* src, int
// return -1;
// }
+#ifdef LDT_paranoia
Setup_FS_Segment();
+#endif
bufferin = CMediaBufferCreate(size, (void*)src, size, 0);
result = this->m_pDMO_Filter->m_pMedia->vt->ProcessInput(this->m_pDMO_Filter->m_pMedia, 0,
@@ -507,7 +509,9 @@ int DMO_VideoDecoder_SetDestFmt(DMO_VideoDecoder *this, int bits, unsigned int c
break;
}
+#ifdef LDT_paranoia
Setup_FS_Segment();
+#endif
// if(should_test)
// result = this->m_pDMO_Filter->m_pOutputPin->vt->QueryAccept(this->m_pDMO_Filter->m_pOutputPin, &this->m_sDestType);