Commit 055b9c47 authored by Erwan Tulou's avatar Erwan Tulou

skins2: fix corner case with old skins and fullscreen

For skins without video elements, fullscreen mode could be launched with the inner video kept hidden. Initializing the video control to NULL fixes it.
parent 64675811
...@@ -211,6 +211,10 @@ void* VoutManager::acceptWnd( vout_window_t* pWnd ) ...@@ -211,6 +211,10 @@ void* VoutManager::acceptWnd( vout_window_t* pWnd )
// directly attach vout thread to it // directly attach vout thread to it
pCtrlVideo->attachVoutWindow( pVoutWindow ); pCtrlVideo->attachVoutWindow( pVoutWindow );
} }
else
{
pVoutWindow->setCtrlVideo( NULL );
}
// save vout characteristics // save vout characteristics
m_SavedWndVec.push_back( SavedWnd( pWnd, pVoutWindow, pCtrlVideo ) ); m_SavedWndVec.push_back( SavedWnd( pWnd, pVoutWindow, pCtrlVideo ) );
......
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