[vlc-commits] direct3d11: fix subpicture log

Steve Lhomme git at videolan.org
Thu Oct 13 11:05:57 CEST 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Oct 13 10:00:57 2016 +0200| [86ade305b6a8b69ccc3472f7dc0535a7c349f8db] | committer: Jean-Baptiste Kempf

direct3d11: fix subpicture log

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

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

 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 a7ba16e..c3c9e59 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -2021,7 +2021,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;
             }



More information about the vlc-commits mailing list