diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2008-05-24 14:09:25 +0400 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2008-05-24 14:09:25 +0400 |
commit | 5d74fbc888daeb3de48063050ad794875a9c4211 (patch) | |
tree | 5249b4cc78905827a71353f50192f0ae1faa11c6 /src/filters/transform/mpcvideodec/DXVADecoder.h | |
parent | 1851fd89dfdb21efb5c2e3dff5b1285075e53a28 (diff) |
Random crash with EVR custom, memory leak DXVA, crash on DXVA when playing video twice, cleanup on shader resources
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@521 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/mpcvideodec/DXVADecoder.h')
-rw-r--r-- | src/filters/transform/mpcvideodec/DXVADecoder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filters/transform/mpcvideodec/DXVADecoder.h b/src/filters/transform/mpcvideodec/DXVADecoder.h index a8a255ffa..b40362732 100644 --- a/src/filters/transform/mpcvideodec/DXVADecoder.h +++ b/src/filters/transform/mpcvideodec/DXVADecoder.h @@ -61,6 +61,7 @@ public : DXVAMode GetMode() { return m_nMode; };
DXVA_ENGINE GetEngine() { return m_nEngine; };
void AllocExecuteParams (int nSize);
+ void SetDirectXVideoDec (IDirectXVideoDecoder* pDirectXVideoDec) { m_pDirectXVideoDec = pDirectXVideoDec; };
virtual HRESULT DecodeFrame (BYTE* pDataIn, UINT nSize, REFERENCE_TIME rtStart, REFERENCE_TIME rtStop) = NULL;
virtual void SetExtraData (BYTE* pDataIn, UINT nSize);
|