mpv/options
Dudemanguy fe6d9b6962 player: rearrange video sync opts/enums/defines
The video sync logic for mpv lies completely within its core at
essentially the highest layer of abstraction. The problem with this is
that it is impossible for VOs to know what video sync mode mpv is
currently using since it has no access to the opts. Because different
video sync modes completely changes how mpv's render loop operates, it's
reasonable that a VO may want to change how it renders based on the
current mode (see the next commit for an example).

Let's just move the video sync option to mp_vo_opts. MPContext, of
course, can still access the value of the option so it only requires
minor changes in player/video.c. Additionally, move the VS_IS_DISP
define from to player/core.h to common/common.h. All VOs already have
access to common/common.h, and there's no need for them to gain access
to everything that's in player/core.h.
2022-04-11 18:14:22 +00:00
..
m_config.h
m_config_core.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
m_config_core.h options: more pushing code around 2020-03-13 16:50:27 +01:00
m_config_frontend.c options: const annotate all m_opt_choice_alternatives accessors 2021-11-15 14:02:08 +00:00
m_config_frontend.h options: add watch-later-options 2021-07-21 13:19:28 +00:00
m_option.c options: const annotate all m_opt_choice_alternatives accessors 2021-11-15 14:02:08 +00:00
m_option.h options: remove always true m_obj_list::allow_unknown_entries 2021-11-15 14:02:08 +00:00
m_property.c command: disable edition switching if there are no editions 2020-03-14 01:32:27 +01:00
m_property.h
options.c player: rearrange video sync opts/enums/defines 2022-04-11 18:14:22 +00:00
options.h player: rearrange video sync opts/enums/defines 2022-04-11 18:14:22 +00:00
parse_commandline.c
parse_commandline.h
parse_configfile.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
parse_configfile.h
path.c path: do not use old_home for win32 exe dir 2020-11-16 00:44:40 +02:00
path.h