vlc | branch: master | Erwan Tulou <[email protected]> | Sat Aug 14 11:49:18 2010 +0200| [9346f23dd752eabf9c79bb588c267314d3fe34d9] | committer: 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) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9346f23dd752eabf9c79bb588c267314d3fe34d9 --- modules/gui/skins2/controls/ctrl_video.cpp | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/modules/gui/skins2/controls/ctrl_video.cpp b/modules/gui/skins2/controls/ctrl_video.cpp index 5008d6d..6409c44 100644 --- a/modules/gui/skins2/controls/ctrl_video.cpp +++ b/modules/gui/skins2/controls/ctrl_video.cpp @@ -133,6 +133,9 @@ void CtrlVideo::unsetLayout() void CtrlVideo::resizeControl( int width, int height ) { + if( !m_bAutoResize ) + return; + WindowManager &rWindowManager = getIntf()->p_sys->p_theme->getWindowManager(); _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
