summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/player/client.c b/player/client.c
index af222e1873..0a3f5491a7 100644
--- a/player/client.c
+++ b/player/client.c
@@ -1576,8 +1576,10 @@ static void notify_property_events(struct mpv_handle *ctx, int event)
ctx->has_pending_properties = true;
}
}
- // Note: assume this function is called from the playloop only (at least
- // if called with events that trigger property changes).
+
+ // Same as in mp_client_property_change().
+ if (ctx->has_pending_properties)
+ mp_dispatch_adjust_timeout(ctx->mpctx->dispatch, 0);
}
// Call with ctx->lock held (only). May temporarily drop the lock.