[vlc-devel] commit: XCB: move xcb_flush to more appropriate place ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Apr 18 21:03:50 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 18 22:03:30 2009 +0300| [c8b8cca4d49448b08f8ac941bade30911b00f917] | committer: Rémi Denis-Courmont
XCB: move xcb_flush to more appropriate place
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c8b8cca4d49448b08f8ac941bade30911b00f917
---
modules/video_output/xcb/x11.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index 430b384..7005d5c 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -327,7 +327,6 @@ static int Open (vlc_object_t *obj)
p_sys->gc = xcb_generate_id (p_sys->conn);
xcb_create_gc (p_sys->conn, p_sys->gc, p_sys->window, 0, NULL);
msg_Dbg (vout, "using X11 graphic context %08"PRIx32, p_sys->gc);
- xcb_flush (p_sys->conn);
/* Check shared memory support */
p_sys->shm = var_CreateGetBool (vout, "x11-shm") > 0;
@@ -552,7 +551,7 @@ static int Init (vout_thread_t *vout)
break;
PP_OUTPUTPICTURE[I_OUTPUTPICTURES++] = pic;
}
-
+ xcb_flush (p_sys->conn);
return VLC_SUCCESS;
}
More information about the vlc-devel
mailing list