summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_application_objc.h
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2019-11-30 23:47:52 +0100
committerder richter <der.richter@gmx.de>2019-12-15 20:07:11 +0100
commitc8cc203735d73f62def2692d1027f45ac10c03db (patch)
tree021ddf9157de39ea066f727f7bc298eb2915531b /osdep/macosx_application_objc.h
parente5676a67eef087aba1ccc0ab707cc5f96cc09470 (diff)
downloadmpv-c8cc203735d73f62def2692d1027f45ac10c03db.tar.bz2
mpv-c8cc203735d73f62def2692d1027f45ac10c03db.tar.xz
cocoa-cb: use m_config_cache and new VOCTRL for option handling
this removes the direct access of the mp_vo_opts stuct via the vo struct and replaces it with the m_config_cache usage. this updates the fullscreen and window-minimized property via m_config_cache_write_opt instead of the old mechanism via VOCTRL and event flagging. also use the new VOCTRL_VO_OPTS_CHANGED event for fullscreen and border changes.
Diffstat (limited to 'osdep/macosx_application_objc.h')
-rw-r--r--osdep/macosx_application_objc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/osdep/macosx_application_objc.h b/osdep/macosx_application_objc.h
index 1685c99ba8..11959a83ea 100644
--- a/osdep/macosx_application_objc.h
+++ b/osdep/macosx_application_objc.h
@@ -32,6 +32,7 @@ struct mpv_handle;
- (void)openFiles:(NSArray *)filenames;
- (void)setMpvHandle:(struct mpv_handle *)ctx;
- (const struct m_sub_options *)getMacOSConf;
+- (const struct m_sub_options *)getVoSubConf;
@property(nonatomic, retain) MenuBar *menuBar;
@property(nonatomic, assign) size_t openCount;