Commit 610e71f1 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: prevent a crash by stopping the current input when changing the 'video...

macosx: prevent a crash by stopping the current input when changing the 'video embedded' variable (close #6063)
(cherry picked from commit de93266466b9d96b9fa3df9c66db1df93f3cebf4)
parent 8f954268
......@@ -35,6 +35,7 @@
#import "misc.h"
#import "intf.h"
#import "AppleRemote.h"
#import "CoreInteraction.h"
#import <Sparkle/Sparkle.h> //for o_intf_last_update_lbl
......@@ -1053,6 +1054,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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment