1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-12 01:46:16 +00:00

vo_vdpau: reindent after GUI code removal

This commit is contained in:
Uoti Urpala 2009-05-08 21:49:52 +03:00
parent fa860a7ffa
commit 3013f956dc

View File

@ -504,7 +504,6 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
vc->visible_buf = false; vc->visible_buf = false;
{
#ifdef CONFIG_XF86VM #ifdef CONFIG_XF86VM
if (vm) { if (vm) {
vo_vm_switch(vo); vo_vm_switch(vo);
@ -521,7 +520,7 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
xswa.background_pixel = 0; xswa.background_pixel = 0;
xswa.border_pixel = 0; xswa.border_pixel = 0;
/* Do not use CWBackPixel: It leads to VDPAU errors after /* Do not use CWBackPixel: It leads to VDPAU errors after
aspect ratio changes. */ * aspect ratio changes. */
xswamask = CWBorderPixel; xswamask = CWBorderPixel;
vo_x11_create_vo_window(vo, &vinfo, vo->dx, vo->dy, d_width, d_height, vo_x11_create_vo_window(vo, &vinfo, vo->dx, vo->dy, d_width, d_height,
@ -538,7 +537,6 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
XSetInputFocus(x11->display, x11->window, RevertToNone, CurrentTime); XSetInputFocus(x11->display, x11->window, RevertToNone, CurrentTime);
} }
#endif #endif
}
if ((flags & VOFLAG_FULLSCREEN) && WinID <= 0) if ((flags & VOFLAG_FULLSCREEN) && WinID <= 0)
vo_fs = 1; vo_fs = 1;