diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2008-01-12 00:59:08 +0300 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2008-01-12 00:59:08 +0300 |
commit | 355dacd115dea7ad2e8ef06ef2e3054e7dc7ac43 (patch) | |
tree | d489d3bf436c58f9067ee92b92c14f1fba54af10 /src/filters/transform/mpcvideodec/DXVADecoderH264.cpp | |
parent | 7cbfc487f33d282a7f840c784dd8a0cf7facb1a2 (diff) |
- Fix DXVA1 black screen with Overlay mixer
- Fix black screen when picture height was not multiple of 8
- Improve DXVA decoder performance
- Dxva log file remove in release
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@375 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/mpcvideodec/DXVADecoderH264.cpp')
-rw-r--r-- | src/filters/transform/mpcvideodec/DXVADecoderH264.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/filters/transform/mpcvideodec/DXVADecoderH264.cpp b/src/filters/transform/mpcvideodec/DXVADecoderH264.cpp index 94b13c965..ac8d9758c 100644 --- a/src/filters/transform/mpcvideodec/DXVADecoderH264.cpp +++ b/src/filters/transform/mpcvideodec/DXVADecoderH264.cpp @@ -161,8 +161,7 @@ HRESULT CDXVADecoderH264::DecodeFrame (BYTE* pDataIn, UINT nSize, REFERENCE_TIME case NALU_TYPE_PPS :
case NALU_TYPE_SPS :
- m_pFilter->DecodeData (pDataSlice, nSliceSize);
- FFH264UpdatePictureParam (false, &m_DXVAPicParams, &m_DXVAScalingMatrix, m_pFilter->GetAVCtx());
+ FFH264UpdatePictureParam (false, &m_DXVAPicParams, &m_DXVAScalingMatrix, m_pFilter->GetAVCtx(), pDataSlice, nSliceSize);
break;
}
@@ -211,7 +210,7 @@ void CDXVADecoderH264::SetExtraData (BYTE* pDataIn, UINT nSize) {
AVCodecContext* pAVCtx = m_pFilter->GetAVCtx();
m_nNALLength = pAVCtx->nal_length_size;
- FFH264UpdatePictureParam (true, &m_DXVAPicParams, &m_DXVAScalingMatrix, pAVCtx);
+ FFH264UpdatePictureParam (true, &m_DXVAPicParams, &m_DXVAScalingMatrix, pAVCtx, pDataIn, nSize);
}
|