From ad2f895df1115e5a4aa8ee739960ac5d9a118c22 Mon Sep 17 00:00:00 2001 From: teejusb <5017202+teejusb@users.noreply.github.com> Date: Sun, 23 Mar 2025 10:07:27 -0700 Subject: [PATCH] Reset the clock_ to 0 instead of 0.5 --- src/arch/MovieTexture/MovieTexture_Generic.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/arch/MovieTexture/MovieTexture_Generic.cpp b/src/arch/MovieTexture/MovieTexture_Generic.cpp index 8460bdc2d2..0ac492da5b 100644 --- a/src/arch/MovieTexture/MovieTexture_Generic.cpp +++ b/src/arch/MovieTexture/MovieTexture_Generic.cpp @@ -349,16 +349,7 @@ void MovieTexture_Generic::UpdateFrame() if (decoder_->EndOfMovie() && loop_) { LOG->Trace("File \"%s\" looping", GetID().filename.c_str()); decoder_->Rollover(); - - // There's a gap in the audio when the music preview loops. This value - // is dynamic based on the ending and starting beats (see - // GameSoundManager.cpp::StartMusic). - // - // This means that the video will be off-sync during the loop, since - // the movie texture doesn't have access to the SoundManager's offset. - // Until it does, we can either freeze at the end of the video banner, - // or give it a best effort approximation (0.5 seconds). - clock_ = 0.5; + clock_ = 0.0; } else if (decoder_->EndOfMovie()) { // At the end of the movie, and not looping.