diff options
-rw-r--r-- | DOCS/man/input.rst | 6 | ||||
-rw-r--r-- | player/command.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index f58ac0dda3..db544d3ddd 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1442,13 +1442,13 @@ Property list access the local value, and the ``old`` value, which will be restored on end of playback, can not be read or written until end of playback.) -``option-flags/<name>`` - Minor additional per-option information. +``option-info/<name>`` + Additional per-option information. This has a number of sub-properties. Replace ``<name>`` with the name of a top-level option. - ``option-flags/<name>/set-from-commandline`` + ``option-info/<name>/set-from-commandline`` Return ``yes`` if the option was set from the mpv command line, ``no`` otherwise. What this is set to if the option is e.g. changed diff --git a/player/command.c b/player/command.c index 90ef7a8546..f60dfc6194 100644 --- a/player/command.c +++ b/player/command.c @@ -3003,8 +3003,8 @@ static int mp_property_local_options(void *ctx, struct m_property *prop, return access_option_list(action, arg, true, mpctx); } -static int mp_property_option_flags(void *ctx, struct m_property *prop, - int action, void *arg) +static int mp_property_option_info(void *ctx, struct m_property *prop, + int action, void *arg) { MPContext *mpctx = ctx; switch (action) { @@ -3242,7 +3242,7 @@ static const struct m_property mp_properties[] = { {"options", mp_property_options}, {"file-local-options", mp_property_local_options}, - {"option-flags", mp_property_option_flags}, + {"option-info", mp_property_option_info}, {"property-list", mp_property_list}, {0}, |