mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
Reapply "video: remove another redundant wakeup"
This reverts commit 44c398c3e1.
This commit is contained in:
committed by
Dudemanguy
parent
0bf4da0f5e
commit
a329bb546c
@@ -1173,8 +1173,10 @@ void write_video(struct MPContext *mpctx)
|
||||
struct mp_image_params *p = &mpctx->next_frames[0]->params;
|
||||
if (!vo->params || video_reconfig_needed(*p, *vo->params)) {
|
||||
// Changing config deletes the current frame; wait until it's finished.
|
||||
if (vo_still_displaying(vo))
|
||||
if (vo_still_displaying(vo)) {
|
||||
vo_request_wakeup_on_done(vo);
|
||||
return;
|
||||
}
|
||||
|
||||
const struct vo_driver *info = mpctx->video_out->driver;
|
||||
char extra[20] = {0};
|
||||
|
||||
Reference in New Issue
Block a user