From e5e6cac2e4c74e3c7b56e1b6138cc2aecf093f5a Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 25 Sep 2003 02:54:24 +0000 Subject: [PATCH] enable SetThreadPriorityBoost --- stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp index a5abe651a2..7d79a4bed2 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp @@ -550,8 +550,8 @@ void MovieTexture_FFMpeg::DecoderThread() /* Windows likes to boost priority when processes come out of a wait state. We don't * want that, since it'll result in us having a small priority boost after each movie * frame, resulting in skips in the gameplay thread. */ -// if(!SetThreadPriorityBoost(GetCurrentThread(), TRUE)) -// LOG->Warn(werr_ssprintf(GetLastError(), "SetThreadPriorityBoost failed")); + if(!SetThreadPriorityBoost(GetCurrentThread(), TRUE)) + LOG->Warn(werr_ssprintf(GetLastError(), "SetThreadPriorityBoost failed")); CHECKPOINT; bool FirstDecodedFrame = true;