diff --git a/stepmania/src/arch/MovieTexture/MovieTexture_DShow.cpp b/stepmania/src/arch/MovieTexture/MovieTexture_DShow.cpp index 45aed27e90..f445740a69 100644 --- a/stepmania/src/arch/MovieTexture/MovieTexture_DShow.cpp +++ b/stepmania/src/arch/MovieTexture/MovieTexture_DShow.cpp @@ -11,6 +11,7 @@ ----------------------------------------------------------------------------- */ +/* XXX register thread */ #pragma comment(lib, "winmm.lib") // Link with the DirectShow base class libraries @@ -116,7 +117,7 @@ void MovieTexture_DShow::CheckFrame() if(buffer == NULL) return; - VDCHECKPOINT; + CHECKPOINT; /* Just in case we were invalidated: */ CreateTexture(); @@ -141,29 +142,29 @@ void MovieTexture_DShow::CheckFrame() * to do a very slow conversion. Both RGB8 and BGR8 are both (usually) valid * formats. */ - VDCHECKPOINT; + CHECKPOINT; DISPLAY->UpdateTexture( m_uTexHandle, fromDShow, 0, 0, m_iImageWidth, m_iImageHeight ); - VDCHECKPOINT; + CHECKPOINT; SDL_FreeSurface( fromDShow ); buffer = NULL; - VDCHECKPOINT; + CHECKPOINT; /* Start the decoding thread again. */ SDL_SemPost(buffer_finished); - VDCHECKPOINT; + CHECKPOINT; } void MovieTexture_DShow::Update(float fDeltaTime) { - VDCHECKPOINT; + CHECKPOINT; // restart the movie if we reach the end if(m_bLoop) @@ -178,7 +179,7 @@ void MovieTexture_DShow::Update(float fDeltaTime) SetPosition(0); } - VDCHECKPOINT; + CHECKPOINT; CheckFrame(); } diff --git a/stepmania/src/archutils/Win32/DebugInfoHunt.cpp b/stepmania/src/archutils/Win32/DebugInfoHunt.cpp index 180fcc91f2..4e5c053dbc 100644 --- a/stepmania/src/archutils/Win32/DebugInfoHunt.cpp +++ b/stepmania/src/archutils/Win32/DebugInfoHunt.cpp @@ -5,6 +5,7 @@ #include "VideoDriverInfo.h" #include "../../archutils/Win32/GotoURL.h" +#include "RageThreads.h" @@ -150,10 +151,10 @@ static void GetVideoCodecDebugInfo() ICINFO info = { sizeof(ICINFO) }; int i; LOG->Info("Video codecs:"); - VDCHECKPOINT; + CHECKPOINT; for(i=0; ICInfo(ICTYPE_VIDEO, i, &info); ++i) { - VDCHECKPOINT; + CHECKPOINT; if( FourCCToString(info.fccHandler) == "ASV1" ) { /* Broken. */ @@ -162,7 +163,7 @@ static void GetVideoCodecDebugInfo() } LOG->Trace( "Scanning codec %s", FourCCToString(info.fccHandler).c_str() ); - VDCHECKPOINT; + CHECKPOINT; HIC hic; hic = ICOpen(info.fccType, info.fccHandler, ICMODE_DECOMPRESS); if(!hic) @@ -172,7 +173,7 @@ static void GetVideoCodecDebugInfo() continue; } - VDCHECKPOINT; + CHECKPOINT; if (ICGetInfo(hic, &info, sizeof(ICINFO))) LOG->Info(" %s: %ls (%ls)", FourCCToString(info.fccHandler).c_str(), info.szName, info.szDescription); @@ -180,7 +181,7 @@ static void GetVideoCodecDebugInfo() LOG->Info("ICGetInfo(%s) failed", FourCCToString(info.fccHandler).c_str()); - VDCHECKPOINT; + CHECKPOINT; ICClose(hic); }