# HG changeset patch # User cehoyos # Date 1241797434 0 # Node ID 6c47111fe28e1be7f868eb7784dff556c6350e31 # Parent 4a268bd89bbc998918e1499fc3fc29cdf668d24d Do not use flag CWBackPixel when calling vo_x11_create_vo_window(): It leads to VDPAU errors after video aspect ratio changes. Patch by Stephen Warren. diff -r 4a268bd89bbc -r 6c47111fe28e libvo/vo_vdpau.c --- a/libvo/vo_vdpau.c Fri May 08 13:58:42 2009 +0000 +++ b/libvo/vo_vdpau.c Fri May 08 15:43:54 2009 +0000 @@ -575,7 +575,9 @@ xswa.background_pixel = 0; xswa.border_pixel = 0; - xswamask = CWBackPixel | CWBorderPixel; + /* Do not use CWBackPixel: It leads to VDPAU errors after + aspect ratio changes. */ + xswamask = CWBorderPixel; vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height, flags, CopyFromParent, "vdpau", title);