[vlc-commits] macosx: only restore frame before playback in embedded case

David Fuhrmann git at videolan.org
Fri Sep 14 20:10:39 CEST 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Sep 14 20:09:09 2012 +0200| [de54e767f196a5d99f9973fbcd3fce8ee164af67] | committer: David Fuhrmann

macosx: only restore frame before playback in embedded case

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

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 23615b2..fd6f506 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1715,7 +1715,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
         // look for 'start at fullscreen'
         [[VLCMain sharedInstance] fullscreenChanged];
     } else {
-        [[self animator] setFrame:frameBeforePlayback display:YES];
+        if (!b_nonembedded)
+            [[self animator] setFrame:frameBeforePlayback display:YES];
 
         [self makeFirstResponder: nil];
         [o_detached_video_window orderOut: nil];



More information about the vlc-commits mailing list