From: Matthias H. <ma...@ms...> - 2008-01-23 11:04:24
|
On Jan 22, 08 19:33:16 +0100, Matthias Ringwald wrote: > I've read the mails on this list and tried the X11_2 visual which did > allow me to let xine call the java locking stuff. > But for unknown reasons in about 1 of 50 tests, > xine_open() would block when called from java. no clue about this. > at this point, the java awt toolkit was not even initialized... Sounds like a typical multithreading race... Was XInitThreads() called before? >> Yes, but e.g. opengl won't be possible with this scheme :-] >> And there are quite a number of systems out there that don't have a >> libxcb.so yet, so they don't neither vo_out_xcb*. > > can you give an example were you would want to use xine in java > on a platform where java & xv/xshm is available but xcb is not? Some older platforms? E.g. all our enterprise products... None of them have xcb yet. And as java is used for applets, there is a big chance that this code will run on older systems. > what do mean with opengl? opengl does not support multithreading > (I've read this on this list), but how does this relate to the xcb visual? You need X11 for GLX (which is the protocol level of OpenGL). There is AFAIK no GLX binding to xcb yet. > But I can see that showing a video in an opengl world might be tricky.. :) Why? Works for generations now :-) Matthias -- Matthias Hopf <mh...@su...> __ __ __ Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ ma...@ms... Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de |