[vlc-commits] macosx: also update the window name after new video window is created
David Fuhrmann
git at videolan.org
Sat Oct 27 13:36:56 CEST 2012
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Oct 27 13:00:50 2012 +0200| [71023ec9b19272a9da19fe2c5a0d642fab4d73b0] | committer: David Fuhrmann
macosx: also update the window name after new video window is created
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71023ec9b19272a9da19fe2c5a0d642fab4d73b0
---
modules/gui/macosx/VLCVoutWindowController.m | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/gui/macosx/VLCVoutWindowController.m b/modules/gui/macosx/VLCVoutWindowController.m
index 082d7b1..f386d78 100644
--- a/modules/gui/macosx/VLCVoutWindowController.m
+++ b/modules/gui/macosx/VLCVoutWindowController.m
@@ -139,15 +139,15 @@
}
[o_new_video_window setAlphaValue: config_GetFloat(VLCIntf, "macosx-opaqueness")];
- if(b_nonembedded) {
- // event occurs before window is created, so call again
- [[VLCMain sharedInstance] playbackStatusUpdated];
- }
-
[[VLCMainWindow sharedInstance] setNonembedded:b_nonembedded];
[o_vout_view setVoutThread:(vout_thread_t *)p_wnd->p_parent];
[o_vout_dict setObject:[o_new_video_window autorelease] forKey:[NSValue valueWithPointer:p_wnd]];
+ if(b_nonembedded) {
+ // event occurs before window is created, so call again
+ [[VLCMain sharedInstance] playlistUpdated];
+ }
+
return [o_vout_view autorelease];
}
More information about the vlc-commits
mailing list