checkpoints
This commit is contained in:
@@ -150,8 +150,10 @@ static void GetVideoCodecDebugInfo()
|
|||||||
ICINFO info = { sizeof(ICINFO) };
|
ICINFO info = { sizeof(ICINFO) };
|
||||||
int i;
|
int i;
|
||||||
LOG->Info("Video codecs:");
|
LOG->Info("Video codecs:");
|
||||||
|
VDCHECKPOINT;
|
||||||
for(i=0; ICInfo(ICTYPE_VIDEO, i, &info); ++i)
|
for(i=0; ICInfo(ICTYPE_VIDEO, i, &info); ++i)
|
||||||
{
|
{
|
||||||
|
VDCHECKPOINT;
|
||||||
if( FourCCToString(info.fccHandler) == "ASV1" )
|
if( FourCCToString(info.fccHandler) == "ASV1" )
|
||||||
{
|
{
|
||||||
/* Broken. */
|
/* Broken. */
|
||||||
@@ -159,6 +161,7 @@ static void GetVideoCodecDebugInfo()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VDCHECKPOINT;
|
||||||
HIC hic;
|
HIC hic;
|
||||||
hic = ICOpen(info.fccType, info.fccHandler, ICMODE_QUERY);
|
hic = ICOpen(info.fccType, info.fccHandler, ICMODE_QUERY);
|
||||||
if(!hic)
|
if(!hic)
|
||||||
@@ -168,6 +171,7 @@ static void GetVideoCodecDebugInfo()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VDCHECKPOINT;
|
||||||
if (ICGetInfo(hic, &info, sizeof(ICINFO)))
|
if (ICGetInfo(hic, &info, sizeof(ICINFO)))
|
||||||
LOG->Info(" %s: %ls (%ls)",
|
LOG->Info(" %s: %ls (%ls)",
|
||||||
FourCCToString(info.fccHandler).c_str(), info.szName, info.szDescription);
|
FourCCToString(info.fccHandler).c_str(), info.szName, info.szDescription);
|
||||||
@@ -175,6 +179,7 @@ static void GetVideoCodecDebugInfo()
|
|||||||
LOG->Info("ICGetInfo(%s) failed",
|
LOG->Info("ICGetInfo(%s) failed",
|
||||||
FourCCToString(info.fccHandler).c_str());
|
FourCCToString(info.fccHandler).c_str());
|
||||||
|
|
||||||
|
VDCHECKPOINT;
|
||||||
ICClose(hic);
|
ICClose(hic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user