[vlc-commits] macosx: remove hack when changing embedded video setting

David Fuhrmann git at videolan.org
Fri Sep 21 10:27:54 CEST 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Sep 21 10:20:35 2012 +0200| [4d4ba91c09fa323c45326e678f992390e7bce5bd] | committer: David Fuhrmann

macosx: remove hack when changing embedded video setting

I have been testing without this code for quite a while now, and I never
got the crash responsible for this hack anymore. So, lets remove the
hack, and if the crash occurs again, we should find a proper way to
fix it.

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

 modules/gui/macosx/simple_prefs.m |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index 4a7ec24..97c7c85 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -987,9 +987,6 @@ static inline void save_module_list(intf_thread_t * p_intf, id object, const cha
     if (sender == o_intf_nativefullscreen_ckb && [o_intf_nativefullscreen_ckb state] == NSOnState)
         [o_intf_embedded_ckb setState: NSOnState];
 
-    if (sender == o_intf_embedded_ckb)
-        [[VLCCoreInteraction sharedInstance] stop];
-
     b_intfSettingChanged = YES;
 }
 



More information about the vlc-commits mailing list