summaryrefslogtreecommitdiffstats
path: root/player/command.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 19:36:33 +0100
committerwm4 <wm4@nowhere>2013-12-21 21:04:21 +0100
commita2d144fc8f146f96e4fe97b1b2c15828e24f8494 (patch)
tree669fa5944dc2be0e829139fb63794474f7b39f14 /player/command.h
parented71606e65e697ea6bc9fc78caf2dd4089dc0aeb (diff)
downloadmpv-a2d144fc8f146f96e4fe97b1b2c15828e24f8494.tar.bz2
mpv-a2d144fc8f146f96e4fe97b1b2c15828e24f8494.tar.xz
m_property: mp_msg conversions
Includes some semi-crappy hacks to avoid changing too much code for this conversion (allowing NULL log argument for m_property_do()).
Diffstat (limited to 'player/command.h')
-rw-r--r--player/command.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/player/command.h b/player/command.h
index d3469fc131..56eb30f859 100644
--- a/player/command.h
+++ b/player/command.h
@@ -21,13 +21,14 @@
struct MPContext;
struct mp_cmd;
+struct mp_log;
void command_init(struct MPContext *mpctx);
void command_uninit(struct MPContext *mpctx);
void run_command(struct MPContext *mpctx, struct mp_cmd *cmd);
char *mp_property_expand_string(struct MPContext *mpctx, const char *str);
-void property_print_help(void);
+void property_print_help(struct mp_log *log);
int mp_property_do(const char* name, int action, void* val,
struct MPContext *mpctx);