Commit de932664 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)
parent 25cf83bc
......@@ -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;
}
......
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