iFix bug in video-demo
This commit is contained in:
parent
9af6fcd9c2
commit
4061763086
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ int main(int argsc, char ** argsv)
|
||||||
((PhotoDetector *)detector.get())->process(frame); //Process an image
|
((PhotoDetector *)detector.get())->process(frame); //Process an image
|
||||||
}
|
}
|
||||||
|
|
||||||
while (VIDEO_EXTS[fileExt] && videoListenPtr->isRunning())
|
do
|
||||||
{
|
{
|
||||||
if (listenPtr->getDataSize() > 0)
|
if (listenPtr->getDataSize() > 0)
|
||||||
{
|
{
|
||||||
|
@ -189,7 +189,7 @@ int main(int argsc, char ** argsv)
|
||||||
|
|
||||||
listenPtr->outputToFile(faces, frame.getTimestamp());
|
listenPtr->outputToFile(faces, frame.getTimestamp());
|
||||||
}
|
}
|
||||||
}
|
} while(VIDEO_EXTS[fileExt] && videoListenPtr->isRunning());
|
||||||
} while(loop);
|
} while(loop);
|
||||||
|
|
||||||
detector->stop();
|
detector->stop();
|
||||||
|
|
Loading…
Reference in a new issue