diff options
author | wm4 <wm4@nowhere> | 2014-06-01 03:41:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-01 03:41:36 +0200 |
commit | 69ad734af805ed7b076dc2235c4551e2738ee8d4 (patch) | |
tree | 7a9b7405a14a14a2cf408181b5e647a8867b6146 | |
parent | 498c997474fcb68d1f2a0c3d6ee656889b8ae1cb (diff) | |
download | mpv-69ad734af805ed7b076dc2235c4551e2738ee8d4.tar.bz2 mpv-69ad734af805ed7b076dc2235c4551e2738ee8d4.tar.xz |
command: add const to mp_notify_property
-rw-r--r-- | player/command.c | 2 | ||||
-rw-r--r-- | player/command.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/player/command.c b/player/command.c index bf18d2fb9e..b3cfab1d41 100644 --- a/player/command.c +++ b/player/command.c @@ -3738,7 +3738,7 @@ void mp_notify(struct MPContext *mpctx, int event, void *arg) mp_client_property_change(mpctx, mp_event_property_change[event]); } -void mp_notify_property(struct MPContext *mpctx, char *property) +void mp_notify_property(struct MPContext *mpctx, const char *property) { mp_client_property_change(mpctx, (const char*[]){property, NULL}); } diff --git a/player/command.h b/player/command.h index 795a759906..258eada148 100644 --- a/player/command.h +++ b/player/command.h @@ -37,6 +37,6 @@ const struct m_option *mp_get_property_list(void); int mp_find_property_index(const char *property); void mp_notify(struct MPContext *mpctx, int event, void *arg); -void mp_notify_property(struct MPContext *mpctx, char *property); +void mp_notify_property(struct MPContext *mpctx, const char *property); #endif /* MPLAYER_COMMAND_H */ |