0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02: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; mpv_event *event = ctx->cur_event;
if (!ctx->mpctx->initialized)
return NULL;
pthread_mutex_lock(&ctx->lock); pthread_mutex_lock(&ctx->lock);
if (!ctx->fuzzy_initialized) if (!ctx->fuzzy_initialized)