vlc | branch: master | Jean-Baptiste Kempf <j...@videolan.org> | Thu Aug 10 
13:45:46 2017 +0200| [018f3768422be26e1c91f1ad77a3f6c59a3e83b8] | committer: 
Jean-Baptiste Kempf

Win32: make D3D11 the default on Windows 8.1/10

That should avoid buggy drivers not-really-tested on 7/8.0

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

 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 e6eb867ddf..958db949cc 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -80,7 +80,7 @@ vlc_module_begin ()
     add_integer("winrt-swapchain",     0x0, NULL, NULL, true); /* 
IDXGISwapChain1*     */
 #endif
 
-    set_capability("vout display", 240)
+    set_capability("vout display", 300)
     add_shortcut("direct3d11")
     set_callbacks(Open, Close)
 vlc_module_end ()
@@ -513,6 +513,9 @@ static int Open(vlc_object_t *object)
 {
     vout_display_t *vd = (vout_display_t *)object;
 
+    if( !IsWindows8Point1OrGreater() && !vd->obj.force )
+        return VLC_EGENERIC;
+
 #if !VLC_WINSTORE_APP
     int ret = OpenHwnd(vd);
 #else

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

Reply via email to