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:
parent
89674854ce
commit
41d9f2f058
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user