[MPlayer-cvslog] r29276 - trunk/libvo/vo_vdpau.c

cehoyos subversion at mplayerhq.hu
Fri May 8 17:43:54 CEST 2009


Author: cehoyos
Date: Fri May  8 17:43:54 2009
New Revision: 29276

Log:
Do not use flag CWBackPixel when calling vo_x11_create_vo_window():
It leads to VDPAU errors after video aspect ratio changes.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Fri May  8 15:58:42 2009	(r29275)
+++ trunk/libvo/vo_vdpau.c	Fri May  8 17:43:54 2009	(r29276)
@@ -575,7 +575,9 @@ static int config(uint32_t width, uint32
 
         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);


More information about the MPlayer-cvslog mailing list