Mercurial > mplayer.hg
changeset 13056:1c2f6de431bf
Removed superfluous XFlush calls before XSync.
Original patch by Piotr Neuman <sikkh@wp.pl>
extended by Joey to cover all X11 code
modified by me to only do the above stated change.
author | al |
---|---|
date | Fri, 20 Aug 2004 09:41:13 +0000 |
parents | 73f18d9f0ca9 |
children | 77611b2df22b |
files | libvo/vo_3dfx.c libvo/vo_dxr3.c libvo/vo_x11.c libvo/vo_xmga.c libvo/vo_xover.c libvo/vo_xv.c libvo/vo_xvidix.c libvo/vo_xvmc.c |
diffstat | 8 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_3dfx.c Thu Aug 19 17:18:06 2004 +0000 +++ b/libvo/vo_3dfx.c Fri Aug 20 09:41:13 2004 +0000 @@ -204,7 +204,6 @@ XSelectInput(display, mywindow, NoEventMask); - XFlush(display); XSync(display, False); return 0;
--- a/libvo/vo_dxr3.c Thu Aug 19 17:18:06 2004 +0000 +++ b/libvo/vo_dxr3.c Fri Aug 20 09:41:13 2004 +0000 @@ -634,7 +634,6 @@ XSetStandardProperties(mDisplay, vo_window, "DXR3 Overlay", "DXR3 Overlay", None, NULL, 0, &hint); XSetWMNormalHints(mDisplay, vo_window, &hint); XMapWindow(mDisplay, vo_window); - XFlush(mDisplay); XSync(mDisplay, False); }
--- a/libvo/vo_x11.c Thu Aug 19 17:18:06 2004 +0000 +++ b/libvo/vo_x11.c Fri Aug 20 09:41:13 2004 +0000 @@ -425,7 +425,6 @@ vo_dwidth, vo_dheight); } - XFlush(mDisplay); XSync(mDisplay, False); // we cannot grab mouse events on root window :(
--- a/libvo/vo_xmga.c Thu Aug 19 17:18:06 2004 +0000 +++ b/libvo/vo_xmga.c Fri Aug 20 09:41:13 2004 +0000 @@ -275,7 +275,6 @@ if (vo_ontop) vo_x11_setlayer(mDisplay, vo_window, vo_ontop); - XFlush(mDisplay); XSync(mDisplay, False); ioctl(f, MGA_VID_ON, 0);
--- a/libvo/vo_xover.c Thu Aug 19 17:18:06 2004 +0000 +++ b/libvo/vo_xover.c Fri Aug 20 09:41:13 2004 +0000 @@ -347,7 +347,6 @@ set_window(1); - XFlush(mDisplay); XSync(mDisplay, False); panscan_calc();
--- a/libvo/vo_xv.c Thu Aug 19 17:18:06 2004 +0000 +++ b/libvo/vo_xv.c Fri Aug 20 09:41:13 2004 +0000 @@ -348,7 +348,6 @@ if (vo_gc != None) XFreeGC(mDisplay, vo_gc); vo_gc = XCreateGC(mDisplay, vo_window, 0L, &xgcv); - XFlush(mDisplay); XSync(mDisplay, False); #ifdef HAVE_XF86VM if (vm) @@ -512,7 +511,6 @@ } XFree(xvimage[foo]); - XFlush(mDisplay); XSync(mDisplay, False); return; }
--- a/libvo/vo_xvidix.c Thu Aug 19 17:18:06 2004 +0000 +++ b/libvo/vo_xvidix.c Fri Aug 20 09:41:13 2004 +0000 @@ -411,7 +411,6 @@ set_window(1); - XFlush(mDisplay); XSync(mDisplay, False); panscan_calc();
--- a/libvo/vo_xvmc.c Thu Aug 19 17:18:06 2004 +0000 +++ b/libvo/vo_xvmc.c Fri Aug 20 09:41:13 2004 +0000 @@ -189,7 +189,6 @@ } XFree(xvimage); - XFlush( mDisplay ); XSync(mDisplay, False); return; } @@ -762,7 +761,6 @@ if ( vo_gc != None ) XFreeGC( mDisplay,vo_gc ); vo_gc = XCreateGC(mDisplay, vo_window, GCForeground, &xgcv); - XFlush(mDisplay); XSync(mDisplay, False); #ifdef HAVE_XF86VM if ( vm )