Mercurial > mplayer.hg
changeset 27891:8742bcad99b5
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.
author | reimar |
---|---|
date | Sat, 15 Nov 2008 18:58:14 +0000 |
parents | a4e2700e9381 |
children | 761414233746 |
files | libvo/vo_x11.c libvo/vo_xv.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_x11.c Sat Nov 15 18:56:25 2008 +0000 +++ b/libvo/vo_x11.c Sat Nov 15 18:58:14 2008 +0000 @@ -421,7 +421,7 @@ XSelectInput(mDisplay, vo_window, ExposureMask); } 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, theCmap, "x11", title); }
--- a/libvo/vo_xv.c Sat Nov 15 18:56:25 2008 +0000 +++ b/libvo/vo_xv.c Sat Nov 15 18:58:14 2008 +0000 @@ -272,7 +272,7 @@ } } 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); }