mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
video: avoid redundant self-wakeup on each queued frame
This should be unnecessary, since the VO itself performs wakeups once a new frame can be queued. The only situation I can think of where this might be required are EOF situations (which are always strange). If I'm wrong, there'll be fun new bugs, probably causing frame drops or temporary stalls.
This commit is contained in:
parent
a2846faa32
commit
a1771ed0d4
@ -1241,6 +1241,7 @@ void write_video(struct MPContext *mpctx)
|
||||
|
||||
vo_c->underrun_signaled = false;
|
||||
|
||||
if (mpctx->video_status == STATUS_EOF || mpctx->stop_play)
|
||||
mp_wakeup_core(mpctx);
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user