]> git.sesse.net Git - vlc/commit
skins(Linux) : fix crash with a few skins (e.g Orangeade) and xcb_x11
authorErwan Tulou <erwan10@videolan.org>
Thu, 24 Dec 2009 08:36:37 +0000 (09:36 +0100)
committerErwan Tulou <erwan10@videolan.org>
Sat, 26 Dec 2009 22:01:28 +0000 (23:01 +0100)
commit58a785a56ec1f8685c1d546f5ca2d4bccbff286a
tree9e120fb110242aa26359b54645d32a130e851ba9
parent06971e967343dc23eb6c84db1e01709ee0b64f83
skins(Linux) : fix crash with a few skins (e.g Orangeade) and xcb_x11

On X11, windows are created with a 1x1 size and updated later on.
In some context, vout_display can catch this 1x1 size before the size is updated.
This results in a crash in swcaler.c which gets a 1x0 size (division by zero)
Changing default to 10x10 solves the problem.
modules/gui/skins2/x11/x11_window.cpp