mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
command: rename "option-flags" property to "option-info"
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user