[vlc-commits] direct3d11: add a log message when creating the pool fails

Steve Lhomme git at videolan.org
Sun Oct 18 23:15:11 CEST 2015


vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Thu Oct 15 19:04:57 2015 +0200| [e9b73498602277497f847cf647580b904168d2b1] | committer: Jean-Baptiste Kempf

direct3d11: add a log message when creating the pool fails

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

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

 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 ccb7ea6..e9402e7 100644
--- a/modules/video_output/msw/direct3d11.c
+++ b/modules/video_output/msw/direct3d11.c
@@ -575,6 +575,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);



More information about the vlc-commits mailing list