mpv/common
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
..
av_common.c av_common: trim FLAC extradata when copying codec params 2021-07-08 12:44:06 +03:00
av_common.h demux: use no overlapping packets for lossless audio 2019-09-19 20:37:04 +02:00
av_log.c common/av_log: explicitly include version.h for required libraries 2022-03-17 20:07:55 +02:00
av_log.h player: rearrange libav* library check 2020-03-08 19:38:10 +01:00
codecs.c codecs: remove unused family field 2018-02-01 10:21:55 +01:00
codecs.h codecs: remove unused family field 2018-02-01 10:21:55 +01:00
common.c common: add helper for subtracting rectangles 2020-05-22 14:17:46 +02:00
common.h player: rearrange video sync opts/enums/defines 2022-04-11 18:14:22 +00:00
encode.h encode: disable unsupported media types automatically 2020-09-03 14:13:17 +02:00
encode_lavc.c encode_lavc: replace deprecated av_init_packet() 2022-01-10 22:56:52 +01:00
encode_lavc.h encode_lavc: replace deprecated av_init_packet() 2022-01-10 22:56:52 +01:00
global.h stats: some more performance graphs 2020-04-09 00:33:38 +02:00
msg.c msg: fix really-quiet option to only affect terminal output 2021-02-23 00:56:21 +02:00
msg.h msg: add function to reduce log level 2020-05-10 16:40:26 +02:00
msg_control.h player: add --term-title option 2020-05-25 20:39:37 +02:00
playlist.c client API: report IDs of inserted playlist entries on loading playlist 2020-03-27 00:57:11 +01:00
playlist.h client API: report IDs of inserted playlist entries on loading playlist 2020-03-27 00:57:11 +01:00
recorder.c recorder: add support for attachments (fonts) 2021-07-08 12:44:06 +03:00
recorder.h recorder: add support for attachments (fonts) 2021-07-08 12:44:06 +03:00
stats.c build: add meson build support 2021-11-14 19:13:10 +00:00
stats.h player, stats: more silly debug stuff 2020-04-10 00:55:39 +02:00
tags.c demux: support for some kinds of timed metadata 2018-04-18 01:17:42 +03:00
tags.h demux: support for some kinds of timed metadata 2018-04-18 01:17:42 +03:00
version.c build: change filenames of generated files 2020-06-04 16:59:05 +02:00