Mercurial > mplayer.hg
diff loader/dmo/DMO_VideoDecoder.c @ 9967:b0d1b415320c
cygwin support patch by Sascha Sommer and some fixes by me
| author | alex |
|---|---|
| date | Mon, 21 Apr 2003 21:06:08 +0000 |
| parents | 305cc11b27e5 |
| children | 11cee15b1a8f |
line wrap: on
line diff
--- a/loader/dmo/DMO_VideoDecoder.c Mon Apr 21 21:04:59 2003 +0000 +++ b/loader/dmo/DMO_VideoDecoder.c Mon Apr 21 21:06:08 2003 +0000 @@ -4,11 +4,13 @@ Copyright 2000 Eugene Kuznetsov (divx@euro.ru) *********************************************************/ - +#include "config.h" #include "guids.h" #include "interfaces.h" #include "registry.h" +#ifdef WIN32_LOADER #include "../ldt_keeper.h" +#endif #ifndef NOAVIFILE_HEADERS #include "videodecoder.h" @@ -101,7 +103,9 @@ this->m_iLastQuality = -1; this->m_iMaxAuto = maxauto; +#ifdef WIN32_LOADER Setup_LDT_Keeper(); +#endif //memset(&m_obh, 0, sizeof(m_obh)); //m_obh.biSize = sizeof(m_obh); @@ -313,7 +317,9 @@ // return -1; // } +#ifdef WIN32_LOADER 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, @@ -500,7 +506,9 @@ break; } +#ifdef WIN32_LOADER 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);
