Commit dc3be302 authored by Rossa, Lutz's avatar Rossa, Lutz
Browse files

show fram count just before acquiring an image

parent 3e4bb324
......@@ -676,6 +676,7 @@ int XenethCamera::SnapImage()
int iResult(ConvertXenethResult(XC_StartCapture(m_hCamera)));
LOG(("XenethCamera::SnapImage(%p) started camera, iResult=%d\n", this, iResult));
LOG(("XenethCamera::SnapImage(%p) frame count=%u\n", this, XC_GetFrameCount(m_hCamera)));
int iResult(ConvertXenethResult(XC_GetFrame(m_hCamera, FT_NATIVE, XGF_Blocking,
static_cast<void*>(, static_cast<int>(m_abyImage.size()))));
if (g_iSnapCount < 1000)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment