vlc | branch: master | Steve Lhomme <rob...@ycbcr.xyz> | Tue Mar 13 13:01:12 
2018 +0100| [20de020edbc5387b5a3cdb507ceba2942e3b0826] | committer: Steve Lhomme

d3d11va: blacklist 10 bits HEVC drivers only based on the build number

Fixes #19873

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=20de020edbc5387b5a3cdb507ceba2942e3b0826
---

 modules/codec/avcodec/d3d11va.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/codec/avcodec/d3d11va.c b/modules/codec/avcodec/d3d11va.c
index 0b88530f5c..37657aebbc 100644
--- a/modules/codec/avcodec/d3d11va.c
+++ b/modules/codec/avcodec/d3d11va.c
@@ -550,9 +550,9 @@ static bool CanUseIntelHEVC(vlc_va_t *va)
     vlc_va_sys_t *sys = va->sys;
     /* it should be OK starting after driver 20.19.15.4835 */
     struct wddm_version WDMM = {
-        .wddm         = 20,
-        .d3d_features = 19,
-        .revision     = 15,
+        .wddm         = 0,
+        .d3d_features = 0,
+        .revision     = 0,
         .build        = 4836,
     };
     if (D3D11CheckDriverVersion(&sys->d3d_dev, GPU_MANUFACTURER_INTEL, &WDMM) 
== VLC_SUCCESS)

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to