From 7201fd7d08dd7f240e6f7c2584809bb4a723ab21 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 22 Nov 2016 15:38:01 +0100 Subject: 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?) --- TOOLS/mpv_identify.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'TOOLS/mpv_identify.sh') 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 -- cgit v1.2.3