[vlc-commits] direct3d11: assume the vout is forced for Winstore builds

Steve Lhomme git at videolan.org
Tue Nov 28 12:26:09 CET 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Nov 28 11:19:25 2017 +0100| [870264fa05648d217a2ba876cc9946076bbc25c9] | committer: Jean-Baptiste Kempf

direct3d11: assume the vout is forced for Winstore builds

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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) :



More information about the vlc-commits mailing list