diff options
author | wm4 <wm4@nowhere> | 2016-09-01 20:00:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-01 20:00:43 +0200 |
commit | d32bee5f019f2c51839df16b7c7955dc33651cbe (patch) | |
tree | 96424f3477a67ca6b5f6220295bf4c906ac6106a /player/command.h | |
parent | 17dbb39dec1fcd3280f86e480a7191b6f78cbbcc (diff) | |
download | mpv-d32bee5f019f2c51839df16b7c7955dc33651cbe.tar.bz2 mpv-d32bee5f019f2c51839df16b7c7955dc33651cbe.tar.xz |
command: add options to property list
Now options are accessible through the property list as well, which
unifies them to a degree.
Not all options support runtime changes (meaning affected components
need to be restarted for the options to take effects). Remove from the
manpage those properties which are cleanly mapped to options anyway.
From the user-perspective they're just options available through the
property interface.
Diffstat (limited to 'player/command.h')
-rw-r--r-- | player/command.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/command.h b/player/command.h index 9ffa5c1340..c082d8d0d7 100644 --- a/player/command.h +++ b/player/command.h @@ -31,7 +31,7 @@ void command_uninit(struct MPContext *mpctx); int run_command(struct MPContext *mpctx, struct mp_cmd *cmd, struct mpv_node *res); char *mp_property_expand_string(struct MPContext *mpctx, const char *str); char *mp_property_expand_escaped_string(struct MPContext *mpctx, const char *str); -void property_print_help(struct mp_log *log); +void property_print_help(struct MPContext *mpctx); int mp_property_do(const char* name, int action, void* val, struct MPContext *mpctx); @@ -40,7 +40,7 @@ void mp_notify_property(struct MPContext *mpctx, const char *property); void handle_command_updates(struct MPContext *mpctx); -int mp_get_property_id(const char *name); +int mp_get_property_id(struct MPContext *mpctx, const char *name); uint64_t mp_get_property_event_mask(const char *name); enum { |