[vlc-commits] direct3d11: log how many pics were requested when we refuse to create the pool

Steve Lhomme git at videolan.org
Wed Nov 30 18:16:56 CET 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon Nov 28 14:06:33 2016 +0100| [1d13fb602994301012de3cf7d7855464e34b9111] | committer: Jean-Baptiste Kempf

direct3d11: log how many pics were requested when we refuse to create the pool

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

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

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

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 99f86ad..29702a1 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -537,7 +537,7 @@ static picture_pool_t *Pool(vout_display_t *vd, unsigned pool_size)
         return vd->sys->pool;
 
     if (pool_size > 30) {
-        msg_Err(vd, "Avoid crashing when using ID3D11VideoDecoderOutputView with too many slices");
+        msg_Err(vd, "Avoid crashing when using ID3D11VideoDecoderOutputView with too many slices (%d)", pool_size);
         return NULL;
     }
 



More information about the vlc-commits mailing list