diff options
author | llyyr <llyyr.public@gmail.com> | 2023-08-26 03:15:14 +0530 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-08-25 22:38:25 +0000 |
commit | afdd2fa5656140c55a0b685e498a89a2249a623a (patch) | |
tree | 226c1129a52cc771290e8f33f674562635776f23 /video/hwdec.h | |
parent | 0c9d8619e8abbe64f203fd0b18a02d1a1b48ea37 (diff) | |
download | mpv-afdd2fa5656140c55a0b685e498a89a2249a623a.tar.bz2 mpv-afdd2fa5656140c55a0b685e498a89a2249a623a.tar.xz |
player: use audio pts corresponding to playing audio on EOF
We should account for ao queue when setting playback position on EOF,
previously we were using the pts value corresponding to the start of
the ao queue, rather than the currently playing audio.
This fixes time-remaining being a negative number when mpv seeks to EOF
while playback is paused.
Diffstat (limited to 'video/hwdec.h')
0 files changed, 0 insertions, 0 deletions