Commit c873d764 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)
(cherry picked from commit 9346f23dd752eabf9c79bb588c267314d3fe34d9)
parent bdc5380d
...@@ -122,6 +122,9 @@ void CtrlVideo::unsetLayout() ...@@ -122,6 +122,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