diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2008-01-13 19:31:55 +0300 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2008-01-13 19:31:55 +0300 |
commit | 60cd60b8849458b1179e0169a62ee39cbc64f6ae (patch) | |
tree | ce7bb5d0206866c1b5926acb58a0e3d31b7441de /src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp | |
parent | 5cd6e747f0060c96dd3e999868795fcadd51ccc7 (diff) |
Update for VC1
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@378 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp')
-rw-r--r-- | src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp b/src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp index 818a2bd0c..2f1361f0d 100644 --- a/src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp +++ b/src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp @@ -183,7 +183,7 @@ STDMETHODIMP CVideoDecOutputPin::GetCreateVideoAcceleratorData(const GUID *pGuid if (pAMVideoAccelerator)
{
memcpy (&UncompInfo.ddUncompPixelFormat, m_pVideoDecFilter->GetPixelFormat(), sizeof (DDPIXELFORMAT));
- UncompInfo.dwUncompHeight = m_pVideoDecFilter->PictHeight();
+ UncompInfo.dwUncompHeight = m_pVideoDecFilter->PictHeightRounded();
UncompInfo.dwUncompWidth = m_pVideoDecFilter->PictWidth();
hr = pAMVideoAccelerator->GetCompBufferInfo(m_pVideoDecFilter->GetDXVADecoderGuid(), &UncompInfo, &dwNumTypesCompBuffers, CompInfo);
|