]> git.sesse.net Git - vlc/commit
skins2: fix video autoresize default when contradictory
authorErwan Tulou <erwan10@videolan.org>
Sat, 14 Aug 2010 09:28:35 +0000 (11:28 +0200)
committerErwan Tulou <erwan10@videolan.org>
Sat, 14 Aug 2010 11:38:01 +0000 (13:38 +0200)
commit07bf40d589a3f4fa9a608c50d7599b8b9b7059bf
tree10c08b688748a1390ca1b0850eed258d24ab36a3
parent28856b8cff0b5c561a5608ebe9dbad953a5cf0f0
skins2: fix video autoresize default when contradictory

when parameters for a video control are contradictory (this occurs when the
skin developper only relies on default values), it is better not to resize,
since there is no easy means to check if the layout is really set up to handle
resizing properly.

This fixes some ugly behavior for a few skins from the skin repository
 on the website.
modules/gui/skins2/parser/builder.cpp