mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
26.76k stars 2.84k forks source link

configfiles: don't save negative start values #14205

Closed guidocella closed 1 month ago

guidocella commented 1 month ago

When you seek to the beginning of paused audio without video, the pts becomes negative, and if you then quit-watch-later, when mpv restarts playback it seeks to the end of the file and immediately advances to the next playlist entry. Fix this by making the pts 0 in this case.

Partial fix of #10346.

github-actions[bot] commented 1 month ago

Download the artifacts for this pull request:

Windows * [mpv-i686-w64-mingw32](https://nightly.link/mpv-player/mpv/actions/artifacts/1526011083.zip) * [mpv-x86_64-w64-mingw32](https://nightly.link/mpv-player/mpv/actions/artifacts/1526014720.zip) * [mpv-x86_64-windows-msvc](https://nightly.link/mpv-player/mpv/actions/artifacts/1526037109.zip)
macOS * [mpv-macos-12-intel](https://nightly.link/mpv-player/mpv/actions/artifacts/1526006513.zip) * [mpv-macos-13-intel](https://nightly.link/mpv-player/mpv/actions/artifacts/1526009527.zip) * [mpv-macos-14-arm](https://nightly.link/mpv-player/mpv/actions/artifacts/1526006551.zip)
Dudemanguy commented 1 month ago

Superseded by https://github.com/mpv-player/mpv/pull/14227.