[vlc-devel] [PATCH 2/7] direct3d11: add a log message when creating the pool fails

Steve Lhomme robux4 at videolabs.io
Thu Oct 15 19:04:57 CEST 2015


From: Steve Lhomme <robux4 at gmail.com>

---
 modules/video_output/msw/direct3d11.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/msw/direct3d11.c b/modules/video_output/msw/direct3d11.c
index 36888ed..92e7d60 100644
--- a/modules/video_output/msw/direct3d11.c
+++ b/modules/video_output/msw/direct3d11.c
@@ -576,6 +576,7 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned pool_size)
 
 error:
     if (vd->sys->pool ==NULL && pictures) {
+        msg_Dbg(vd, "Failed to create the picture d3d11 pool");
         for (unsigned i=0;i<picture_count; ++i)
             DestroyDisplayPoolPicture(pictures[i]);
         free(pictures);
-- 
2.6.0



More information about the vlc-devel mailing list