0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/player
wm4 ce8524cb47 sub: cache subtitle state per track instead of per demuxer stream
Since commit 6d9cb893, subtitle state doesn't survive timeline switches
(ordered chapters etc.). So there is no point in caching the state per
sh_stream anymore (which would be required to deal with multiple
segments). Move the cache to struct track.

(Whether it's worth caching the subtitle state just for the situation
when subtitle tracks get reselected is questionable. But for now, it's
nice to have the subtitles immediately show up when reselecting a
subtitle.)
2015-12-26 18:32:27 +01:00
..
lua ytdl: disable --all-subs if "sub-lang" is in raw-options 2015-10-24 17:30:22 +02:00
audio.c player: use demuxer ts offset to simplify timeline ts handling 2015-11-16 23:17:33 +01:00
client.c client API: disallow masking MPV_EVENT_SHUTDOWN 2015-12-02 23:08:43 +01:00
client.h vo_opengl_cb: don't render OSD while VO is not created 2015-03-23 16:32:59 +01:00
command.c command: change heuristic for files with 1 chapter 2015-12-25 13:59:10 +01:00
command.h video: always re-probe auto deint filter on filter reconfig 2015-07-21 21:54:15 +02:00
configfiles.c command: make time properties unavailable if timestamp is unknown 2015-10-16 16:16:10 +02:00
core.h sub: cache subtitle state per track instead of per demuxer stream 2015-12-26 18:32:27 +01:00
external_files.c player: fix previous commit 2015-12-25 13:40:06 +01:00
external_files.h player: rename and move find_subfiles.c 2015-09-20 18:05:06 +02:00
loadfile.c sub: cache subtitle state per track instead of per demuxer stream 2015-12-26 18:32:27 +01:00
lua.c osd: delay libass initialization as far as possible 2015-09-07 14:26:01 +02:00
main.c options: handle terminal/logging settings eagerly 2015-11-04 21:49:54 +01:00
misc.c demux: remove weird tripple-buffering for the sh_stream list 2015-12-23 21:52:16 +01:00
osd.c osd: do not let OSD messages overwrite --osd-msgN text 2015-11-29 17:56:08 +01:00
playloop.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
screenshot.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
screenshot.h client API: add a screenshot_raw command 2015-04-20 23:11:03 +02:00
scripting.c path: make mp_path_join accept normal C strings 2015-05-09 15:26:47 +02:00
sub.c sub: cache subtitle state per track instead of per demuxer stream 2015-12-26 18:32:27 +01:00
video.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00