mpv/player
Dudemanguy 062104d16e sub: redecode cached packets on UPDATE_SUB_HARD or UPDATE_SUB_FILT
UPDATE_SUB_HARD causes all of the ass objects to reset in order to apply
the new style. UPDATE_SUB_FILT doesn't actually reset the sd, but it
should in order to update the actual filters so that was added here.
Doing this causes the current subtitle to be dropped. In the paused
cause, this concidentally works because command.c forces a video refresh
which then reloads the subtitle essentially. But while playing, the
subtitle will be dropped and you won't get anything until the next one
appears.

Instead of using video refreshes, what we can do is just always save the
last two subtitle packets in a cache and redecode them if needed. This
is much easier and also allows us to get rid of all the video refresh
logic in command.c. Fixes #12386.
2023-11-05 15:45:43 +00:00
..
javascript build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
lua lua: remove a ton of unneeded parentheses 2023-11-02 16:03:20 +00:00
audio.c player/audio: fix incorrect check on adding delay 2023-10-26 22:59:09 -05:00
client.c mp_threads: rename threads for consistent naming across all of them 2023-10-27 23:18:56 +00:00
client.h
command.c sub: redecode cached packets on UPDATE_SUB_HARD or UPDATE_SUB_FILT 2023-11-05 15:45:43 +00:00
command.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
configfiles.c options: rename --watch-later-directory to --watch-later-dir 2023-10-25 16:16:37 +00:00
core.h various: sort some standard headers 2023-10-20 21:31:09 +02:00
external_files.c external_files: remove duplicate from cover art whitelist 2023-10-04 15:31:38 +00:00
external_files.h player: make all autoload extensions configurable 2023-08-26 00:33:00 +00:00
javascript.c scripting: rename backend names for concise naming 2023-10-27 23:18:56 +00:00
loadfile.c player: remove unused mutate argument in mp_next_file 2023-10-05 17:09:43 +02:00
lua.c scripting: rename backend names for concise naming 2023-10-27 23:18:56 +00:00
main.c player/main: set main thread name as mpv 2023-11-01 13:40:26 +00:00
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
misc.c
osd.c player: add --term-remaining-playtime option 2023-08-13 19:58:20 +00:00
playloop.c dispatch: change mp_dispatch_queue_process timer to nanoseconds 2023-10-16 15:38:59 +00:00
screenshot.c options: rename --screenshot-directory to --screenshot-dir 2023-10-25 16:16:37 +00:00
screenshot.h
scripting.c scripting: add 'script' to messages 2023-10-27 23:18:56 +00:00
sub.c sub: update subtitles if current track is an image 2023-10-23 19:32:53 +00:00
video.c player/video: loosen logic checks for adjust_sync 2023-10-30 17:18:35 +00:00