diff options
author | matmaul <matmaul@users.sourceforge.net> | 2008-06-04 02:35:57 +0400 |
---|---|---|
committer | matmaul <matmaul@users.sourceforge.net> | 2008-06-04 02:35:57 +0400 |
commit | d5e066184050c516708841cc4b1de1e1ba026df7 (patch) | |
tree | 7bdd9aa082f170ef827fbe7414673522e0a93f97 /src/filters/transform/mpcvideodec/DXVADecoder.cpp | |
parent | 7e3743ae01841ae6a3059ed33bdfedda918da7cf (diff) |
fix nvidia black screen problem
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@546 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/mpcvideodec/DXVADecoder.cpp')
-rw-r--r-- | src/filters/transform/mpcvideodec/DXVADecoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/transform/mpcvideodec/DXVADecoder.cpp b/src/filters/transform/mpcvideodec/DXVADecoder.cpp index 4d55bc6e7..5704eda15 100644 --- a/src/filters/transform/mpcvideodec/DXVADecoder.cpp +++ b/src/filters/transform/mpcvideodec/DXVADecoder.cpp @@ -421,7 +421,7 @@ HRESULT CDXVADecoder::BeginFrame(int nSurfaceIndex, IMediaSample* pSampleToDeliv }
// For slow accelerator wait a little...
- if (hr != E_PENDING) break;
+ if (SUCCEEDED (hr)) break;
Sleep(1);
}
|