mirror of https://github.com/mpv-player/mpv
player: force wakeup on playback restart
Just a theoretical issue, most likely.
This commit is contained in:
parent
cd9ee1a853
commit
834a236514
|
@ -877,6 +877,7 @@ static void handle_playback_restart(struct MPContext *mpctx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mpctx->playing_msg_shown = true;
|
mpctx->playing_msg_shown = true;
|
||||||
|
mpctx->sleeptime = 0;
|
||||||
MP_VERBOSE(mpctx, "playback restart complete\n");
|
MP_VERBOSE(mpctx, "playback restart complete\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue