[vlc-commits] direct3d11: fix the log when the I420 pool is used

Steve Lhomme git at videolan.org
Mon Feb 5 19:21:15 CET 2018


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Feb  5 18:10:14 2018 +0100| [64865a3f34f8ae8bf4747b2fb93ca5662902710b] | committer: Jean-Baptiste Kempf

direct3d11: fix the log when the I420 pool is used

(cherry picked from commit 88cf434bbaae2231f2d7605ad058b7d585056a78)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 4a4887c7d9..f3f220f326 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -689,7 +689,7 @@ error:
         sys->sys.pool = picture_pool_NewExtended( &pool_cfg );
     } else {
         msg_Dbg(vd, "D3D11 pool succeed with %d surfaces (%dx%d) context 0x%p",
-                picture_count, surface_fmt.i_width, surface_fmt.i_height, sys->d3d_dev.d3dcontext);
+                pool_size, surface_fmt.i_width, surface_fmt.i_height, sys->d3d_dev.d3dcontext);
     }
     return sys->sys.pool;
 }



More information about the vlc-commits mailing list