Commit 8b70a12e authored by Erwan Tulou's avatar Erwan Tulou Committed by Rémi Denis-Courmont

skins2: correct crashes when using zoom and multiple video tags

Fixes #2821
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent f459c271
...@@ -222,6 +222,8 @@ void CtrlVideo::detachVoutWindow( ) ...@@ -222,6 +222,8 @@ void CtrlVideo::detachVoutWindow( )
void CtrlVideo::resizeInnerVout( ) void CtrlVideo::resizeInnerVout( )
{ {
if( m_pVoutWindow )
{
WindowManager &rWindowManager = WindowManager &rWindowManager =
getIntf()->p_sys->p_theme->getWindowManager(); getIntf()->p_sys->p_theme->getWindowManager();
TopWindow* pWin = getWindow(); TopWindow* pWin = getWindow();
...@@ -233,5 +235,6 @@ void CtrlVideo::resizeInnerVout( ) ...@@ -233,5 +235,6 @@ void CtrlVideo::resizeInnerVout( )
rWindowManager.show( *pWin ); rWindowManager.show( *pWin );
m_pVoutWindow->show(); m_pVoutWindow->show();
}
} }
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