Fix video restart in media viewer.

Fixes #6913.
This commit is contained in:
John Preston 2019-12-31 13:53:54 +03:00
parent 03ff48cf07
commit b387ccdcf7
2 changed files with 2 additions and 2 deletions

View File

@ -1339,7 +1339,7 @@ void Gif::startStreamedPlayer() const {
}
void Gif::checkStreamedIsStarted() const {
if (!_streamed) {
if (!_streamed || _streamed->instance.playerLocked()) {
return;
} else if (_streamed->instance.paused()) {
_streamed->instance.resume();

@ -1 +1 @@
Subproject commit da3b4704bfde6572e29966254f3f91866207c693
Subproject commit f0e95ee933d1caf74b790fc85d34212dd3dd2229