[vlc-commits] d3d11va: blacklist 10 bits HEVC drivers only based on the build number

Steve Lhomme git at videolan.org
Wed Mar 14 11:52:09 CET 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Mar 13 13:01:12 2018 +0100| [20ecbd50c1affef34b6490ce20c71d8e98807b76] | committer: Hugo Beauzée-Luyssen

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

Fixes #19873

(cherry picked from commit 20de020edbc5387b5a3cdb507ceba2942e3b0826)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 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)



More information about the vlc-commits mailing list