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?) --- DOCS/man/input.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'DOCS/man') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 508e7dd252..70a05dcaef 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -2147,10 +2147,9 @@ caveats with some properties (due to historical reasons): Strictly speaking, option access via API (e.g. ``mpv_set_option_string()``) has the same problem, and it's only a difference between CLI/API. -``demuxer``, ``idle``, ``length``, ``audio-samplerate``, ``audio-channels``, ``audio-format``, ``fps``, ``cache``, ``playlist-pos``, ``chapter`` - These behave completely different as property, but are deprecated (newer - aliases which don't conflict have been added). After the deprecation period - they will be changed to the proper option behavior. +``playlist-pos``, ``chapter`` + These properties behave different from the deprecated options with the same + names. Property Expansion ------------------ -- cgit v1.2.3