View Single Post
Old 05-05-09, 03:05 PM   #43
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Tearing and Composite

The black-screen issue appears to be an MPlayer bug. The change below should fix it. Please let me know, thanks.

Index: libvo/vo_vdpau.c
================================================== =================
--- libvo/vo_vdpau.c (revision 29229)
+++ libvo/vo_vdpau.c (working copy)
@@ -575,7 +575,7 @@

xswa.background_pixel = 0;
xswa.border_pixel = 0;
- xswamask = CWBackPixel | CWBorderPixel;
+ xswamask = /*CWBackPixel |*/ CWBorderPixel;

vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height,
flags, CopyFromParent, "vdpau", title);
Stephen Warren is offline   Reply With Quote