Commit e759ce5f authored by Erwan Tulou's avatar Erwan Tulou

skins2: default width/height to -1 (undefined) and not 0

This fixes automatic resizing not working when a skin uses vlc.hasVout to monitor
 video visibility. (in vlc12, the default skin belongs to this category)
parent fc9935aa
......@@ -44,7 +44,7 @@ class SavedWnd
{
public:
SavedWnd( vout_window_t* pWnd, VoutWindow* pVoutWindow = NULL,
CtrlVideo* pCtrlVideo = NULL, int height = 0, int width = 0 )
CtrlVideo* pCtrlVideo = NULL, int height = -1, int width = -1 )
: pWnd( pWnd ), pVoutWindow( pVoutWindow ),
pCtrlVideo( pCtrlVideo ), height( height ), width( width ) { }
~SavedWnd() { }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment