From d17aaf31fb788f52f07ac84dafd88ad90d43d22c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 20 Oct 2005 21:07:25 +0000 Subject: [PATCH] fix duration (seconds per frame, not frames per second) --- stepmania/src/arch/MovieTexture/MovieTexture_Theora.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_Theora.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_Theora.cpp index 17be35bf2e..3eef4ade5c 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_Theora.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_Theora.cpp @@ -271,7 +271,7 @@ float MovieDecoder_Theora::GetTimestamp() const float MovieDecoder_Theora::GetFrameDuration() const { - return (float) m_TheoraInfo.fps_numerator / m_TheoraInfo.fps_denominator; + return (float) m_TheoraInfo.fps_denominator / m_TheoraInfo.fps_numerator; } bool MovieDecoder_Theora::SkippableFrame() const