[vlc-devel] [PATCH 2/2] direct3d11: fix subpicture log

Steve Lhomme robux4 at videolabs.io
Thu Oct 13 10:00:57 CEST 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 ffca116..30df2d9 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -2057,7 +2057,7 @@ static int Direct3D11MapSubpicture(vout_display_t *vd, int *subpicture_region_co
             (*region)[i] = picture_NewFromResource(&r->fmt, &picres);
             if ((*region)[i] == NULL) {
                 msg_Err(vd, "Failed to create %dx%d picture for OSD",
-                        r->fmt.i_visible_width, r->fmt.i_visible_height);
+                        r->fmt.i_width, r->fmt.i_height);
                 ReleaseQuad(d3dquad);
                 continue;
             }
-- 
2.8.2



More information about the vlc-devel mailing list