diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2007-12-30 13:37:37 +0300 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2007-12-30 13:37:37 +0300 |
commit | 39729e71d36cae747db1b0265aa5d4983f60b621 (patch) | |
tree | 73854f64ae9517649af4f3708202b82c639d5051 /src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp | |
parent | f9f218c321919a91b251cacd5bfcf8dcb3285842 (diff) |
Code cleanup
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@352 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp')
-rw-r--r-- | src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp b/src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp index 965b86a62..19db54528 100644 --- a/src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp +++ b/src/filters/transform/mpcvideodec/VideoDecOutputPin.cpp @@ -185,7 +185,7 @@ STDMETHODIMP CVideoDecOutputPin::GetCreateVideoAcceleratorData(const GUID *pGuid memcpy (&UncompInfo.ddUncompPixelFormat, m_pVideoDecFilter->GetPixelFormat(), sizeof (DDPIXELFORMAT));
UncompInfo.dwUncompHeight = m_pVideoDecFilter->PictHeight();
UncompInfo.dwUncompWidth = m_pVideoDecFilter->PictWidth();
- hr = pAMVideoAccelerator->GetCompBufferInfo(m_pVideoDecFilter->GetDXVA1Decoder(), &UncompInfo, &dwNumTypesCompBuffers, CompInfo);
+ hr = pAMVideoAccelerator->GetCompBufferInfo(m_pVideoDecFilter->GetDXVADecoderGUID(), &UncompInfo, &dwNumTypesCompBuffers, CompInfo);
if (SUCCEEDED (hr))
{
@@ -194,7 +194,7 @@ STDMETHODIMP CVideoDecOutputPin::GetCreateVideoAcceleratorData(const GUID *pGuid if (SUCCEEDED (hr))
{
pConnectMode = (DXVA_ConnectMode*)CoTaskMemAlloc (sizeof(DXVA_ConnectMode));
- pConnectMode->guidMode = *m_pVideoDecFilter->GetDXVA1Decoder();
+ pConnectMode->guidMode = *m_pVideoDecFilter->GetDXVADecoderGUID();
pConnectMode->wRestrictedMode = m_pVideoDecFilter->GetDXVA1RestrictedMode();
*pdwSizeMiscData = sizeof(DXVA_ConnectMode);
*ppMiscData = pConnectMode;
|