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

Steve Lhomme git at videolan.org
Mon Feb 5 18:14:00 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Feb  5 18:10:14 2018 +0100| [88cf434bbaae2231f2d7605ad058b7d585056a78] | committer: Steve Lhomme

direct3d11: fix the log when the I420 pool is used

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

 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