[vlc-commits] commit: skins2: fix corner case with old skins and fullscreen (Erwan Tulou )
git at videolan.org
git at videolan.org
Thu Mar 11 09:28:36 CET 2010
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Thu Mar 11 09:20:58 2010 +0100| [055b9c473740304f183b61b0de2d67de480ebabb] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=055b9c473740304f183b61b0de2d67de480ebabb
---
modules/gui/skins2/src/vout_manager.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/gui/skins2/src/vout_manager.cpp b/modules/gui/skins2/src/vout_manager.cpp
index 5e6eeaa..86bd5e1 100644
--- a/modules/gui/skins2/src/vout_manager.cpp
+++ b/modules/gui/skins2/src/vout_manager.cpp
@@ -211,6 +211,10 @@ void* VoutManager::acceptWnd( vout_window_t* pWnd )
// directly attach vout thread to it
pCtrlVideo->attachVoutWindow( pVoutWindow );
}
+ else
+ {
+ pVoutWindow->setCtrlVideo( NULL );
+ }
// save vout characteristics
m_SavedWndVec.push_back( SavedWnd( pWnd, pVoutWindow, pCtrlVideo ) );
More information about the vlc-commits
mailing list