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

Steve Lhomme robux4 at videolabs.io
Mon Nov 28 14:06:33 CET 2016


---
 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 7b515f1..45cedf2 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -538,7 +538,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;
     }
 
-- 
2.10.1.windows.1



More information about the vlc-devel mailing list