vlc | branch: master | Felix Paul Kühne <[email protected]> | Fri Apr 6 13:18:41 2012 +0200| [de93266466b9d96b9fa3df9c66db1df93f3cebf4] | committer: Felix Paul Kühne
macosx: prevent a crash by stopping the current input when changing the 'video embedded' variable (close #6063) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de93266466b9d96b9fa3df9c66db1df93f3cebf4 --- modules/gui/macosx/simple_prefs.m | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m index 16b1839..ac875f2 100644 --- a/modules/gui/macosx/simple_prefs.m +++ b/modules/gui/macosx/simple_prefs.m @@ -37,6 +37,7 @@ #import "misc.h" #import "intf.h" #import "AppleRemote.h" +#import "CoreInteraction.h" #import <Sparkle/Sparkle.h> //for o_intf_last_update_lbl @@ -1055,6 +1056,9 @@ static inline void save_module_list( intf_thread_t * p_intf, id object, const ch 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; } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
