[vlc-devel] [PATCH] direct3d11: warn when the projection is not	handled
    Steve Lhomme 
    robux4 at videolabs.io
       
    Thu Jan 26 15:17:13 CET 2017
    
    
  
---
 modules/video_output/win32/direct3d11.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 22b745a..d5d3eb7 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1819,7 +1819,10 @@ static bool AllocQuadVertices(vout_display_t *vd, d3d_quad_t *quad, video_projec
         quad->indexCount = nbLatBands * nbLonBands * 2 * 3;
     }
     else
+    {
+        msg_Warn(vd, "Projection mode %s not handled", projection);
         return false;
+    }
 
     D3D11_BUFFER_DESC bd;
     memset(&bd, 0, sizeof(bd));
-- 
2.10.2
    
    
More information about the vlc-devel
mailing list