From 640793ec0a076faf447cafe0a284f01b97eba3ad Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 16 Aug 2022 23:10:40 +0200 Subject: [PATCH] Fixed an issue where the video player would delay playing even though the showSnapshotDelay property was not set. --- es-core/src/components/VideoComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/components/VideoComponent.cpp b/es-core/src/components/VideoComponent.cpp index 3db4e6f31..75f73a5c9 100644 --- a/es-core/src/components/VideoComponent.cpp +++ b/es-core/src/components/VideoComponent.cpp @@ -273,7 +273,7 @@ void VideoComponent::startVideoPlayer() if (mIsPlaying) stopVideoPlayer(); - if (mConfig.startDelay != 0 && mStaticImagePath != "") { + if (mConfig.showSnapshotDelay && mConfig.startDelay != 0 && mStaticImagePath != "") { mStartTime = SDL_GetTicks() + mConfig.startDelay; setImage(mStaticImagePath); }