From 29f04d913513a470bc91aff3e6c0fca699e460f8 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sun, 27 Jun 2004 11:16:20 +0000 Subject: calling XInitThreads() is definitely the frontend's job, because it has to call Xlib functions before xine to properly fill x11_visual_t CVS patchset: 6755 CVS date: 2004/06/27 11:16:20 --- doc/hackersguide/library.sgml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/hackersguide/library.sgml b/doc/hackersguide/library.sgml index 63e550e3d..907346bc2 100644 --- a/doc/hackersguide/library.sgml +++ b/doc/hackersguide/library.sgml @@ -40,6 +40,12 @@ will find a very easy and hopefully self-explaining xine frontend to give you a start. + + One important thing to note is that any X11 based xine-lib frontend + must call XInitThreads() before calling the + first Xlib function, because xine will access the display from + within a different thread than the frontend. + Source code of a simple X11 frontend -- cgit v1.2.3