mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Fixed an issue where the video player would delay playing even though the showSnapshotDelay property was not set.
This commit is contained in:
parent
225a602a74
commit
640793ec0a
|
@ -273,7 +273,7 @@ void VideoComponent::startVideoPlayer()
|
||||||
if (mIsPlaying)
|
if (mIsPlaying)
|
||||||
stopVideoPlayer();
|
stopVideoPlayer();
|
||||||
|
|
||||||
if (mConfig.startDelay != 0 && mStaticImagePath != "") {
|
if (mConfig.showSnapshotDelay && mConfig.startDelay != 0 && mStaticImagePath != "") {
|
||||||
mStartTime = SDL_GetTicks() + mConfig.startDelay;
|
mStartTime = SDL_GetTicks() + mConfig.startDelay;
|
||||||
setImage(mStaticImagePath);
|
setImage(mStaticImagePath);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue