[vlc-commits] direct3d11: more restrictions on AMD drivers capable to display decoder NV12
Steve Lhomme
git at videolan.org
Tue Jun 11 09:53:47 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 11 09:49:44 2019 +0200| [72022d99277b4b66a1990a59156edc2938d7f112] | committer: Steve Lhomme
direct3d11: more restrictions on AMD drivers capable to display decoder NV12
Old driver versions had a revision number bigger than 1000.
VLC 3.0.6 had a check on
.wddm = 22,
.d3d_features = 19,
.revision = 162,
.build = 0,
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72022d99277b4b66a1990a59156edc2938d7f112
---
modules/video_output/win32/direct3d11.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 5a123ef951..7a96a41e1c 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1092,7 +1092,10 @@ static bool CanUseTextureArray(vout_display_t *vd)
return false;
#else
struct wddm_version WDDM = {
- .revision = 162, // 17.5.1 - 2017/05/04
+ .wddm = 20, // starting with drivers designed for W10
+ // 15.200.1062.1004 is wrong - 2015/08/03
+ // 22.19.165.3 is good - 2017/05/04
+ .revision = 162, // 17.5.1
};
if (D3D11CheckDriverVersion(&vd->sys->d3d_dev, GPU_MANUFACTURER_AMD, &WDDM) == VLC_SUCCESS)
return true;
More information about the vlc-commits
mailing list