diff options
author | wm4 <wm4@nowhere> | 2016-11-22 15:38:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-11-22 15:54:45 +0100 |
commit | 7201fd7d08dd7f240e6f7c2584809bb4a723ab21 (patch) | |
tree | 3e53e811029fa31614ac5fee9dc3ecedabaabf68 /DOCS/interface-changes.rst | |
parent | 78f76bdddd1df33fb76d9779d156bab66b5a81c1 (diff) | |
download | mpv-7201fd7d08dd7f240e6f7c2584809bb4a723ab21.tar.bz2 mpv-7201fd7d08dd7f240e6f7c2584809bb4a723ab21.tar.xz |
command: redefine some deprecated properties
As threatened by the API changes document.
We can actually keep the deprecated --playlist-pos and --cache options,
since they are aliases and not used by the corresponding properties.
They are inconsistent, but do no harm. Keep them for now for the sake of
the command line user.
mpv_identify.sh partially stopped working, because it was never updated.
The shell magic can't deal with property names that contain "/", so we
can't replace "samplerate" with "audio-params/samplerate" - just remove
these properties. (How about you use ffprobe?)
Diffstat (limited to 'DOCS/interface-changes.rst')
-rw-r--r-- | DOCS/interface-changes.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 5021bded66..e082b36a9d 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -21,6 +21,15 @@ Interface changes --- mpv 0.23.0 --- - remove deprecated vf_vdpaurb (use "--hwdec=vdpau-copy" instead) + - the following properties now have new semantics: + - "demuxer" (use "current-demuxer") + - "fps" (use "container-fps") + - "idle" (use "idle-active") + - "cache" (use "cache-percent") + - "audio-samplerate" (use "audio-params/samplerate") + - "audio-channels" (use "audio-params/channel-count") + - "audio-format" (use "audio-codec-name") + (the properties equivalent to the old semantics are in parentheses) --- mpv 0.22.0 --- - the "audio-device-list" property now sets empty device description to the device name as a fallback |