Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasimir666 <casimir666@users.sourceforge.net>2011-01-09 21:12:04 +0300
committerCasimir666 <casimir666@users.sourceforge.net>2011-01-09 21:12:04 +0300
commitca11af9b084eb0b425ccc4de1e06b2a3d3992eef (patch)
treee562bcd397ff76c87eb8606743a83fc32e13bccb
parenta6e7c70b2d01d401f3364ba36c1e4b180b7ccaf4 (diff)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/tags/release_v1_4_2499_1_patch_sandy_bridge@2824 10f7b99b-c216-0410-bff0-8a66a9350fd8release_v1_4_2499_1_patch_sandy_bridge
-rw-r--r--src/filters/transform/MPCVideoDec/MPCVideoDecFilter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.cpp b/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.cpp
index 132cfa798..344b9a53f 100644
--- a/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.cpp
+++ b/src/filters/transform/MPCVideoDec/MPCVideoDecFilter.cpp
@@ -2091,6 +2091,10 @@ HRESULT CMPCVideoDecFilter::ConfigureDXVA2(IPin *pPin)
break;
}
+ // Patch for the Sandy Bridge (prevent crash on Mode_E, fixme later)
+ if (m_nPCIVendor == PCIV_Intel && guidDecoder == DXVA2_ModeH264_E)
+ continue;
+
if (bFoundDXVA2Configuration)
{
// Found a good configuration. Save the GUID.