Ticket #6312: fix-vdpau-tearing-v3.patch
File fix-vdpau-tearing-v3.patch, 724 bytes (added by , 15 years ago) |
---|
-
libs/libmythtv/videoout_xv.cpp
old new 3239 3239 3240 3240 if (XVideoVDPAU == VideoOutputSubType()) 3241 3241 { 3242 if (windows[0].IsRepaintNeeded() &&3243 windows[0].GetVisibility() == kVisibility_Normal)3244 {3245 3242 X11L; 3246 3243 XSetForeground(XJ_disp, XJ_gc, vdpau_colorkey); 3247 3244 XFillRectangle(XJ_disp, XJ_curwin, XJ_gc, … … 3250 3247 display_visible_rect.width(), 3251 3248 display_visible_rect.height()); 3252 3249 X11U; 3253 windows[0].SetNeedRepaint(false);3254 }3255 3250 return; 3256 3251 } 3257 3252