Commit 9346f23d authored by Erwan Tulou's avatar Erwan Tulou

skins2: don't resize video if set up not to do so.

This bug has become more conspicuous in vlc1.2, because of some enhancement in
 the vout reuse (width/height no longer a limitation)
parent 07bf40d5
...@@ -133,6 +133,9 @@ void CtrlVideo::unsetLayout() ...@@ -133,6 +133,9 @@ void CtrlVideo::unsetLayout()
void CtrlVideo::resizeControl( int width, int height ) void CtrlVideo::resizeControl( int width, int height )
{ {
if( !m_bAutoResize )
return;
WindowManager &rWindowManager = WindowManager &rWindowManager =
getIntf()->p_sys->p_theme->getWindowManager(); getIntf()->p_sys->p_theme->getWindowManager();
......
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