diff options
Diffstat (limited to 'video/out/vo.h')
-rw-r--r-- | video/out/vo.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index a02412a8ea..68d8273937 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -43,7 +43,8 @@ enum { VO_EVENT_AMBIENT_LIGHTING_CHANGED = 1 << 4, // Special mechanism for making resizing with Cocoa react faster VO_EVENT_LIVE_RESIZING = 1 << 5, - // Window fullscreen state changed via external influence. + // Legacy. Use m_config_cache_write_opt() instead to update the fullscreen + // option. VO_EVENT_FULLSCREEN_STATE = 1 << 6, // Special thing for encode mode (vo_driver.initially_blocked). // Part of VO_EVENTS_USER to make vo_is_ready_for_frame() work properly. @@ -67,6 +68,10 @@ enum mp_voctrl { VOCTRL_SET_PANSCAN, VOCTRL_SET_EQUALIZER, + // Trigger by any change to mp_vo_opts. This is for convenience. In theory, + // you could install your own listener. + VOCTRL_VO_OPTS_CHANGED, + /* private to vo_gpu */ VOCTRL_LOAD_HWDEC_API, @@ -80,12 +85,13 @@ enum mp_voctrl { VOCTRL_UNINIT, VOCTRL_RECONFIG, + // Legacy stuff. VOCTRL_FULLSCREEN, VOCTRL_ONTOP, VOCTRL_BORDER, VOCTRL_ALL_WORKSPACES, - VOCTRL_GET_FULLSCREEN, + VOCTRL_GET_WIN_STATE, // int* (VO_WIN_STATE_* flags) VOCTRL_UPDATE_WINDOW_TITLE, // char* VOCTRL_UPDATE_PLAYBACK_STATE, // struct voctrl_playback_state* @@ -102,8 +108,6 @@ enum mp_voctrl { VOCTRL_GET_UNFS_WINDOW_SIZE, // int[2] (w/h) VOCTRL_SET_UNFS_WINDOW_SIZE, // int[2] (w/h) - VOCTRL_GET_WIN_STATE, // int* (VO_WIN_STATE_* flags) - // char *** (NULL terminated array compatible with CONF_TYPE_STRING_LIST) // names for displays the window is on VOCTRL_GET_DISPLAY_NAMES, |