From e330620ce3cd32cbc9647448afd718cc60b99662 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 25 Sep 2003 03:39:52 +0000 Subject: [PATCH] compile fix --- stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp index 7d79a4bed2..bd383aa201 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_FFMpeg.cpp @@ -542,6 +542,7 @@ void MovieTexture_FFMpeg::DecoderThread() float ClockOffset = 0; bool FrameSkipMode = false; +#if defined(_WINDOWS) /* Movie decoding is bursty. We burst decode a frame, then we sleep, then we burst * to YUV->RGB convert, then we wait for the frame to move, and we repeat. */ // if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_BELOW_NORMAL)) @@ -552,6 +553,7 @@ void MovieTexture_FFMpeg::DecoderThread() * frame, resulting in skips in the gameplay thread. */ if(!SetThreadPriorityBoost(GetCurrentThread(), TRUE)) LOG->Warn(werr_ssprintf(GetLastError(), "SetThreadPriorityBoost failed")); +#endif CHECKPOINT; bool FirstDecodedFrame = true;