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

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-04-19 20:18:32 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-04-19 20:18:32 +0400
commit043ffa8d670e45dd8e87da1b5048a62f5e404115 (patch)
tree6675e06d7da270563ed4482e21e33536782abca5 /decoder
parent28ac28dacce9202b424a1d1bc7e06b5ee4b18eaa (diff)
dxva2: disable wmv3 dxva on UVD/UVD+ devices
This may be temporary until it can be fixed.
Diffstat (limited to 'decoder')
-rw-r--r--decoder/LAVVideo/decoders/dxva2dec.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoder/LAVVideo/decoders/dxva2dec.cpp b/decoder/LAVVideo/decoders/dxva2dec.cpp
index 032cecb5..3759977f 100644
--- a/decoder/LAVVideo/decoders/dxva2dec.cpp
+++ b/decoder/LAVVideo/decoders/dxva2dec.cpp
@@ -669,6 +669,9 @@ HRESULT CDecDXVA2::CheckHWCompatConditions(GUID decoderGuid)
if (m_dwSurfaceWidth > 1920 || m_dwSurfaceHeight > 1200) {
DbgLog((LOG_TRACE, 10, L"-> UHD/4K resolutions blacklisted on AMD/ATI GPUs"));
return E_FAIL;
+ } else if (m_pAVCtx->codec_id == AV_CODEC_ID_WMV3 && IsAMDUVD(m_dwDeviceId)) {
+ DbgLog((LOG_TRACE, 10, L"-> AMD UVD/UVD+ is currently not compatible with WMV3"));
+ return E_FAIL;
}
} else if (m_dwVendorId == VEND_ID_INTEL && decoderGuid == DXVADDI_Intel_ModeH264_E) {
if (m_pAVCtx->codec_id == AV_CODEC_ID_H264 && m_pAVCtx->refs > max_ref_frames_dpb41) {