[vlc-commits] macosx: fixed corner-case in which the playlist table was displayed instead of the newly created vout

Felix Paul Kühne git at videolan.org
Mon Jun 4 00:16:36 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jun  4 00:16:21 2012 +0200| [208028660fe17278a04eafe0b05c3a715e069a71] | committer: Felix Paul Kühne

macosx: fixed corner-case in which the playlist table was displayed instead of the newly created vout

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=208028660fe17278a04eafe0b05c3a715e069a71
---

 modules/gui/macosx/MainWindow.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index aaec66b..8cc6336 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1004,7 +1004,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
         if (!b_nonembedded)
         {
-            if (([o_video_view isHidden] && b_activeVideo) || b_restored )
+            if (([o_video_view isHidden] && b_activeVideo) || b_restored || (b_activeVideo && sender == nil) )
                 [self makeSplitViewHidden];
             else
                 [self makeSplitViewVisible];



More information about the vlc-commits mailing list