summaryrefslogtreecommitdiffstats
path: root/loader/dmo
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-25 16:17:23 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-25 16:17:23 +0000
commit8401d53158982d4a5df6fbe30a3f46a9cbe1fb6f (patch)
tree6a131a6188d225028ee6f62162d1078d800e1cb7 /loader/dmo
parente8f2dabe9bb31b0edc69254ed83dbe6479499171 (diff)
downloadmpv-8401d53158982d4a5df6fbe30a3f46a9cbe1fb6f.tar.bz2
mpv-8401d53158982d4a5df6fbe30a3f46a9cbe1fb6f.tar.xz
cbAlign=1 fix for proper Windows support (noticed by Sascha Sommer)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9504 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dmo')
-rw-r--r--loader/dmo/DMO_VideoDecoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/dmo/DMO_VideoDecoder.c b/loader/dmo/DMO_VideoDecoder.c
index 34cb54b7c8..937c1af61a 100644
--- a/loader/dmo/DMO_VideoDecoder.c
+++ b/loader/dmo/DMO_VideoDecoder.c
@@ -280,8 +280,8 @@ void DMO_VideoDecoder_StartInternal(DMO_VideoDecoder *this)
props.cBuffers = 1;
props.cbBuffer = this->m_sDestType.lSampleSize;
- //don't know how to do this correctly
- props.cbAlign = props.cbPrefix = 0;
+ props.cbAlign = 1;
+ props.cbPrefix = 0;
this->m_pDMO_Filter->m_pAll->vt->SetProperties(this->m_pDMO_Filter->m_pAll, &props, &props1);
this->m_pDMO_Filter->m_pAll->vt->Commit(this->m_pDMO_Filter->m_pAll);
#endif