[vlc-devel] [PATCH 8/9] direct3d11: assume the vout is forced for Winstore builds

Steve Lhomme robux4 at videolabs.io
Tue Nov 28 11:19:25 CET 2017


---
 modules/video_output/win32/direct3d11.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index aee028fbc7..3136294138 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1481,7 +1481,11 @@ static int Direct3D11Open(vout_display_t *vd)
     int err = SetupOutputFormat(vd, &fmt);
     if (err != VLC_SUCCESS)
     {
-        if (!is_d3d11_opaque(vd->source.i_chroma) && vd->obj.force )
+        if (!is_d3d11_opaque(vd->source.i_chroma)
+#if !VLC_WINSTORE_APP
+            && vd->obj.force
+#endif
+                )
         {
             const vlc_fourcc_t *list = vlc_fourcc_IsYUV(vd->source.i_chroma) ?
                         vlc_fourcc_GetYUVFallback(vd->source.i_chroma) :
-- 
2.14.2



More information about the vlc-devel mailing list