diff options
Diffstat (limited to 'player/client.c')
-rw-r--r-- | player/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/player/client.c b/player/client.c index 460632805f..91c86f4a88 100644 --- a/player/client.c +++ b/player/client.c @@ -1735,7 +1735,8 @@ static bool gen_property_change_event(struct mpv_handle *ctx) while (1) { if (ctx->cur_property_index >= ctx->num_properties) { - if (!ctx->new_property_events || !ctx->num_properties) + ctx->new_property_events &= ctx->num_properties > 0; + if (!ctx->new_property_events) break; ctx->new_property_events = false; ctx->cur_property_index = 0; |