mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Fixed an issue where videos without any static images would sometimes have a delayed start.
This commit is contained in:
parent
78cdc49200
commit
59494b0a9b
|
@ -287,7 +287,7 @@ void VideoComponent::update(int deltaTime)
|
|||
if (mWindow->getGameLaunchedState())
|
||||
return;
|
||||
|
||||
if (!mIsPlaying && mConfig.startDelay == 0) {
|
||||
if (!mIsPlaying && (mConfig.startDelay == 0 || mStaticImagePath == "")) {
|
||||
startVideoStream();
|
||||
}
|
||||
else if (mStartTime == 0 || SDL_GetTicks() > mStartTime) {
|
||||
|
|
Loading…
Reference in a new issue