[vlc-commits] direct3d11: warn when the projection is not handled

Steve Lhomme git at videolan.org
Fri Jan 27 10:56:43 CET 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Jan 26 15:17:13 2017 +0100| [41707e0ce1fc3ac5b257e3e247dbfa59653ba2df] | committer: Jean-Baptiste Kempf

direct3d11: warn when the projection is not handled

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

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

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



More information about the vlc-commits mailing list