[vlc-devel] [PATCH] -- corrects two skins2 crashes

brezhoneg1 brezhoneg1 at yahoo.fr
Thu Feb 19 00:33:27 CET 2009

This patch corrects segfaults when the video widget of a skin doesn't
exist or is hidden. 

- gui/skins/src/skins_main.cpp :
When the video window doesn't exist or is hidden, a Null window is
passed to the window provider process. 
Stating VLC_EGENERIC instead of VLC_SUCCESS allows probing to continue.

- In gui/qt4/qt4.cpp
Makes sure the qt4 window provider doesn't take over and try to provide
a video widget for skins (also crash). 
Not setting qt4-iface in dialog-provider-only mode solves the problem.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Corrects-crashing-when-a-skin-doesn-t-have-a-video-w.diff
Type: application/octet-stream
Size: 2018 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090219/74e16555/attachment.obj>

More information about the vlc-devel mailing list