summaryrefslogtreecommitdiffstats
path: root/DOCS/interface-changes.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-19 12:37:37 +0200
committerJan Ekström <jeebjp@gmail.com>2018-05-31 01:24:51 +0300
commit942829463410d0e7ab27b3191205ecfd3c132f2d (patch)
tree139cb0a012a9a658dd33ea38a259742fd229f147 /DOCS/interface-changes.rst
parent36099d27f86af23e75c8a08b1b9aa41697dc86b1 (diff)
downloadmpv-942829463410d0e7ab27b3191205ecfd3c132f2d.tar.bz2
mpv-942829463410d0e7ab27b3191205ecfd3c132f2d.tar.xz
player: simplify edition switching
The player fully restarts playback when the edition or disk title is changed. Before this, the player tried to reinitialized playback partially. For example, it did not print a new "Playing: <file>" message, and did not send playback end to libmpv users (scripts or applications). This playback restart code was a bit messy and could have unforeseen interactions with various state. There have been bugs before. Since it's a mostly cosmetic thing for an obscure feature, just change it to a full restart. This works well, though since it may have consequences for scripts or client API users, mention it in interface-changes.rst.
Diffstat (limited to 'DOCS/interface-changes.rst')
-rw-r--r--DOCS/interface-changes.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst
index fa42b1dc81..7ef91c431e 100644
--- a/DOCS/interface-changes.rst
+++ b/DOCS/interface-changes.rst
@@ -103,6 +103,8 @@ Interface changes
of 3D content doesn't justify such an option anyway.
- change cycle-values command to use the current value, instead of an
internal counter that remembered the current position.
+ - edition and disc title switching will now fully reload playback (may have
+ consequences for scripts, client API, or when using file-local options)
--- mpv 0.28.0 ---
- rename --hwdec=mediacodec option to mediacodec-copy, to reflect
conventions followed by other hardware video decoding APIs