mpv/player
Ripose dea512ea38 options: add secondary-sub-delay
Add --secondary-sub-delay option and decouple --sub-delay from secondary
subtitles. This produces desirable behavior in most cases as secondary
and primary subtitles tracks tend to be timed independently of one
another.

This feature is implemented by turning the sub_delay field in
mp_subtitle_opts into an array of 2 floats. From here the track index is
either passed around or derived when sub_delay is needed. There are some
cases in dec_sub.c where it is possible for dec_sub.order (equivalent to
track index) to be -1. In these cases, sub_delay is inferred as 0.
2023-11-26 23:22:05 +01:00
..
javascript player: remove shared-script-properties property 2023-11-22 16:29:43 +00:00
lua player: remove shared-script-properties property 2023-11-22 16:29:43 +00:00
audio.c player/audio: fix incorrect check on adding delay 2023-10-26 22:59:09 -05:00
client.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c options: add secondary-sub-delay 2023-11-26 23:22:05 +01: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 ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00: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 various: add some missing error checks 2023-11-18 23:55:28 +00:00
lua.c scripting: rename backend names for concise naming 2023-10-27 23:18:56 +00:00
main.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
misc.c options: add secondary-sub-delay 2023-11-26 23:22:05 +01:00
osd.c Revert "player: cut off status line on terminal width" 2023-11-08 21:55:08 +00:00
playloop.c dispatch: change mp_dispatch_queue_process timer to nanoseconds 2023-10-16 15:38:59 +00:00
screenshot.c mp_thread: add win32 implementation 2023-11-05 17:36:17 +00:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c mp_thread: prefer tracking threads with id 2023-11-05 17:36:17 +00:00
sub.c sub: update subtitles if current track is an image 2023-10-23 19:32:53 +00:00
video.c vo: pass approximate frame duration in vo_frame 2023-11-18 22:54:29 +00:00