From 21040bb95168c44232cc39bb9ae7dc9b4af4206f Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 15 Nov 2008 18:58:14 +0000 Subject: Use vo_dwidth/vo_dheight for creating the windows instead of d_width/d_height. This fixes the -vm bug that the created window is too small. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27925 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_xv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo/vo_xv.c') diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 302d98f1b2..926f3737be 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -272,7 +272,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, } } else { - vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height, + vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, vo_dwidth, vo_dheight, flags, CopyFromParent, "xv", title); XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa); } -- cgit v1.2.3