[vlc-devel] commit: Qt4: wait for VideoWidget::paintEvent ( Rémi Denis-Courmont )

Laurent Aimar fenrir at via.ecp.fr
Fri Jun 20 20:58:45 CEST 2008


On Fri, Jun 20, 2008, Rémi Denis-Courmont wrote:
> Le vendredi 20 juin 2008 21:37:27 git version control, vous avez écrit :
> > vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Fri
> > Jun 20 21:39:06 2008 +0300| [aeb8ed0fb0a896579de098b6a13ffcae41fc8ec7]
> >
> > Qt4: wait for VideoWidget::paintEvent
> >
> > This seems to solve the invalid handle problem, as pointed out by
> > Laurent. However, I get a poststamp-sized video output now...
> 
> Actually, it still does not work at all. The X11 error can still happen 
> sometimes. I am pretty much out of ideas again.
 Could you check if winId() inside paintEvent() returns the same value than
the one you first retreive ? (For me winId() inside the constructor is not
the same than the one inside paintEvent() for my small program, and only the
latter can be used).

-- 
fenrir



More information about the vlc-devel mailing list