From 3cbf68b47079df130d2a767da7f6af352202112c Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 23 Jul 2015 22:59:04 +0200 Subject: command: add property indicating per-file options Fixes #2165, more or less. --- DOCS/interface-changes.rst | 1 + DOCS/man/input.rst | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'DOCS') diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index cad78108fb..79b8327f82 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -20,6 +20,7 @@ Interface changes :: --- mpv 0.10.0 will be released --- + - add "option-info//set-locally" property - add --cache-backbuffer; change --cache-default default to 75MB the new total cache size is the sum of backbuffer and the cache size specified by --cache-default or --cache diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index e46d802888..14c1f3f5fa 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1872,6 +1872,12 @@ Property list ``no`` otherwise. What this is set to if the option is e.g. changed at runtime is left undefined (meaning it could change in the future). + ``option-info//set-locally`` + Return ``yes`` if the option was set per-file. This is the case with + automatically loaded profiles, file-dir configs, and other cases. It + means the option value will be restored to the value before playback + start when playback ends. + ``option-info//default-value`` The default value of the option. May not always be available. -- cgit v1.2.3