summaryrefslogtreecommitdiffstats
path: root/player/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/client.c')
-rw-r--r--player/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/player/client.c b/player/client.c
index 257d8ffd42..eee401f089 100644
--- a/player/client.c
+++ b/player/client.c
@@ -1188,6 +1188,8 @@ static void update_prop(void *p)
// outstanding property.
static bool gen_property_change_event(struct mpv_handle *ctx)
{
+ if (!ctx->mpctx->initialized)
+ return false;
int start = ctx->lowest_changed;
ctx->lowest_changed = ctx->num_properties;
for (int n = start; n < ctx->num_properties; n++) {