mpv/player/lua
wm4 a09396ee60 demux_edl, cue, mkv: clean up timeline stuff slightly
Remove the singly linked list hack, replace it with a slightly more
proper data structure. This probably gets rid of a few minor bugs along
the way, caused by the awkward nonsensical sharing/duplication of some
fields.

Another change (because I'm touching everything related to timeline
anyway) is that I'm removing the special semantics for parts[num_parts].
This is now strictly out of bounds, and instead of using the start time
of the next/beyond-last part, there is an end time field now.

Unfortunately, this also requires touching the code for cue and mkv
ordered chapters. From some superficial testing, they still seem to
mostly work.

One observable change is that the "no_chapters" header is per-stream
now, which is arguably more correct, and getting the old behavior would
require adding code to handle it as special-case, so just adjust
ytdl_hook.lua to the new behavior.
2019-09-19 20:37:04 +02:00
..
assdraw.lua osc: improve look of seekranges 2019-09-02 01:11:04 +03:00
defaults.lua Merge branch 'master' into pr6360 2019-03-11 01:00:27 +02:00
options.lua config: replace config dir lua-settings/ with dir script-opts/ 2018-04-07 16:02:16 -07:00
osc.lua osc: improve look of seekranges 2019-09-02 01:11:04 +03:00
stats.lua stats.lua: silence annoying fontconfig warnings 2019-09-19 20:37:04 +02:00
ytdl_hook.lua demux_edl, cue, mkv: clean up timeline stuff slightly 2019-09-19 20:37:04 +02:00