diff options
-rw-r--r-- | player/video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c index 2e0c8f6460..bae32c3f4e 100644 --- a/player/video.c +++ b/player/video.c @@ -1241,7 +1241,8 @@ void write_video(struct MPContext *mpctx) vo_c->underrun_signaled = false; - mp_wakeup_core(mpctx); + if (mpctx->video_status == STATUS_EOF || mpctx->stop_play) + mp_wakeup_core(mpctx); return; error: |