vlc | branch: master | Steve Lhomme <[email protected]> | 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 <[email protected]>

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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to