changeset 29234:6c47111fe28e

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.
author cehoyos
date Fri, 08 May 2009 15:43:54 +0000
parents 4a268bd89bbc
children 605a2f464842
files libvo/vo_vdpau.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);