Updated a warning...
git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@77 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ bool Camera::start()
|
|||||||
if(!capture_)
|
if(!capture_)
|
||||||
{
|
{
|
||||||
QString videoFile = Settings::getCamera_videoFilePath();
|
QString videoFile = Settings::getCamera_videoFilePath();
|
||||||
if(QFile::exists(videoFile))
|
if(!videoFile.isEmpty())
|
||||||
{
|
{
|
||||||
capture_ = cvCaptureFromAVI(videoFile.toStdString().c_str());
|
capture_ = cvCaptureFromAVI(videoFile.toStdString().c_str());
|
||||||
if(!capture_)
|
if(!capture_)
|
||||||
|
|||||||
Reference in New Issue
Block a user