Skip to content

Commit

Permalink
skins2: default width/height to -1 (undefined) and not 0
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Erwan Tulou committed Nov 8, 2010
1 parent fc9935a commit e759ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gui/skins2/src/vout_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() { }
Expand Down

0 comments on commit e759ce5

Please sign in to comment.