[vlc-devel] [PATCH] Qt4 embedded vout patch
rdenis at simphalempin.com
Fri Jun 20 16:05:41 CEST 2008
Le vendredi 20 juin 2008 16:48:26 Rémi Denis-Courmont, vous avez écrit :
> Unfortunately, the Qt4 plugin itself still return an invalid X11 handle (as
> it did when the segmentation did not occur). That seems very much like a
> Qt4 plugin bug, and I am not capable of fixing that.
As far as I can tell, there are two different issues (both Qt4 plugin bugs):
(1) The X11 handle is returned before it's ready for use.
Putting a "long" sleep after requestVideo() removes the X11 crash, but of
course it clips the beginning of the video which is not quite good.
I would assume that delivering the Qt4 signal _synchronously_ could solve
this, but I don't know how to do that.
(2) Even then, Qt4 fails to size the video area properly. Possibly due to the
same class of race condition as (1).
So, the segmentation fault was a LibVLC video output core misdesign (now
should be fixed), but the other two issues are Qt4-specific bugs.
More information about the vlc-devel