comparison libvo/vo_xv.c @ 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
comparison
equal deleted inserted replaced
27890:a4e2700e9381 27891:8742bcad99b5
270 vo_x11_update_geometry(); 270 vo_x11_update_geometry();
271 aspect_save_prescale(vo_dwidth, vo_dheight); 271 aspect_save_prescale(vo_dwidth, vo_dheight);
272 } 272 }
273 } else 273 } else
274 { 274 {
275 vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height, 275 vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, vo_dwidth, vo_dheight,
276 flags, CopyFromParent, "xv", title); 276 flags, CopyFromParent, "xv", title);
277 XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa); 277 XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa);
278 } 278 }
279 279
280 if (vo_gc != None) 280 if (vo_gc != None)