summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-11-22 15:38:01 +0100
committerwm4 <wm4@nowhere>2016-11-22 15:54:45 +0100
commit7201fd7d08dd7f240e6f7c2584809bb4a723ab21 (patch)
tree3e53e811029fa31614ac5fee9dc3ecedabaabf68 /TOOLS
parent78f76bdddd1df33fb76d9779d156bab66b5a81c1 (diff)
downloadmpv-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 'TOOLS')
-rwxr-xr-xTOOLS/mpv_identify.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/TOOLS/mpv_identify.sh b/TOOLS/mpv_identify.sh
index 2bda6e5753..42cd41fe43 100755
--- a/TOOLS/mpv_identify.sh
+++ b/TOOLS/mpv_identify.sh
@@ -71,9 +71,7 @@ EOF
audio
audio-bitrate
audio-codec
- audio-format
- channels
- samplerate
+ audio-codec-name
video
angle