Ticket #1557: mplayer-xv-tearing.patch
| File mplayer-xv-tearing.patch, 497 bytes (added by , 17 years ago) |
|---|
-
libvo/vo_xv.c
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 1085f51..0458613 100644
a b static void flip_page(struct vo *vo) 479 479 if (ctx->num_buffers > 1) { 480 480 ctx->current_buf = vo_directrendering ? 0 : ((ctx->current_buf + 1) % 481 481 ctx->num_buffers); 482 X Flush(vo->x11->display);482 XSync(vo->x11->display, False); 483 483 } else 484 484 XSync(vo->x11->display, False); 485 485 return;
