diff options
author | wm4 <wm4@nowhere> | 2018-05-19 12:37:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:35 +0200 |
commit | 562d8e6d3236022a77e49a17948e25e493538f04 (patch) | |
tree | 801a0802af3cf0e0fdec43630dcada7d8c017f32 /DOCS/interface-changes.rst | |
parent | d7ca95c3ea90782c786a6a607d3713bb42a104b1 (diff) | |
download | mpv-562d8e6d3236022a77e49a17948e25e493538f04.tar.bz2 mpv-562d8e6d3236022a77e49a17948e25e493538f04.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.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 49c9bda9ba..b2974eff12 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -109,6 +109,8 @@ Interface changes - mpv_command_node() and mp.command_native() now support named arguments (see manpage). If you want to use them, use a new version of the manpage as reference, which lists the definitive names. + - 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 |