summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-01 03:41:36 +0200
committerwm4 <wm4@nowhere>2014-06-01 03:41:36 +0200
commit69ad734af805ed7b076dc2235c4551e2738ee8d4 (patch)
tree7a9b7405a14a14a2cf408181b5e647a8867b6146 /player/command.c
parent498c997474fcb68d1f2a0c3d6ee656889b8ae1cb (diff)
downloadmpv-69ad734af805ed7b076dc2235c4551e2738ee8d4.tar.bz2
mpv-69ad734af805ed7b076dc2235c4551e2738ee8d4.tar.xz
command: add const to mp_notify_property
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 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});
}