History

player: don't force saving start in watch-later-options

The watch-later mechanism has always unconditionally wrote start to files to save the playback position. When this was later expanded to watch-later-options, this logic was kept in place. But we don't actually have to unconditionally write this and can allow users to remove the option from the list if they want to. The start value still requires some special handling; it should always be written if possible regardless of the value changing. However, we can just place it within the default set of options for watch-later-options so it can be removed like any other.

Dudemanguy committed 3 years ago

Commit 6471afe1 parent c4ec47a4 files · +15 −6Browse files

Showing the changes to DOCS/interface-changes.rst (1 of 4 files). Show all

Unified · Split

DOCS/interface-changes.rst+4−0
@@ -41,6 +41,10 @@ Interface changes · 40 unmodified lines
41 - deprecate `--drm-atomic`41 - deprecate `--drm-atomic`
42 - add `--demuxer-hysteresis-secs`42 - add `--demuxer-hysteresis-secs`
43 - add `--video-sync=display-tempo`43 - add `--video-sync=display-tempo`
44 - the `start` option is no longer unconditionally written by
45 watch-later. It is still written by default but you may
46 need to explictly add `start` depending on how you have
47 `--watch-later-options` configured.
44 --- mpv 0.35.0 ---48 --- mpv 0.35.0 ---
45 - add the `--vo=gpu-next` video output driver, as well as the options49 - add the `--vo=gpu-next` video output driver, as well as the options
46 `--allow-delayed-peak-detect`, `--builtin-scalers`,50 `--allow-delayed-peak-detect`, `--builtin-scalers`,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t