1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00

client API: revert unintended mpv_wait_event() behavior change

Commit bf385e11 accidentally added some testing changes that were not
intended to be committed.
This commit is contained in:
wm4 2016-09-21 11:47:54 +02:00
parent 89674854ce
commit 41d9f2f058

View File

@ -761,9 +761,6 @@ mpv_event *mpv_wait_event(mpv_handle *ctx, double timeout)
{
mpv_event *event = ctx->cur_event;
if (!ctx->mpctx->initialized)
return NULL;
pthread_mutex_lock(&ctx->lock);
if (!ctx->fuzzy_initialized)