1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 21:42:18 +00:00
mpv/player
Dudemanguy 7051e94e4b player: remove speed adjustment from playing_audio_pts
When calculating the audio pts, mpv multiplies the ao delay by the
current audio speed and subtracts it from the written audio pts. This
doesn't really make sense though. mpctx->video_pts is never affected by
the playback speed, and this leads to weird behavior like the audio-pts
property changing values while paused merely because the playback speed
changes. Remove the multiplication and simply subtract the delay by a
factor of 1 instead. When updating the av_diff in player/video, this
does actually need to take in account the audio speed so we do the
calculation there.
2024-02-26 15:41:34 +00:00
..
javascript js: complex key-binding: send also key_text 2024-02-09 16:54:57 +02:00
lua console.lua: move functions to strip common characters 2024-02-08 18:18:33 +01:00
audio.c player: remove speed adjustment from playing_audio_pts 2024-02-26 15:41:34 +00: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 input/player: add loadfile/loadlist insert-at command 2024-02-26 02:03:21 +00:00
command.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
configfiles.c player: fix watch later config comments when ignoring path 2024-02-24 05:26:48 +00:00
core.h player: add ao-volume option, to set the system volume at startup 2024-02-25 23:57:35 +00:00
external_files.c command: restore lang after track reload 2024-01-20 17:26:45 +00:00
external_files.h command: restore lang after track reload 2024-01-20 17:26:45 +00:00
javascript.c scripting: rename backend names for concise naming 2023-10-27 23:18:56 +00:00
loadfile.c player/loadfile: rewrite sub autoselection logic 2024-02-24 05:26:37 +00:00
lua.c scripting: add mp.input 2024-01-13 02:53:08 +00:00
main.c player/main: don't set the main thread name 2024-02-26 09:35:58 +01:00
meson.build meson: generate .com in the same place as the .exe if possible 2023-11-27 18:42:19 +00:00
misc.c player: change insert_next to insert_at 2024-02-26 02:03:21 +00:00
osd.c player: remove --term-remaining-playtime option 2024-01-20 23:24:48 +00:00
playloop.c player/sub: avoid wasteful subtitle redraws 2024-02-15 16:43:11 +00:00
screenshot.c screenshot: remove artificial limit on the number of screenshots taken 2023-12-28 15:45:08 +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 player/sub: avoid wasteful subtitle redraws 2024-02-15 16:43:11 +00:00
video.c player: remove speed adjustment from playing_audio_pts 2024-02-26 15:41:34 +00:00