summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-02-01 03:15:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-02-01 03:15:53 +0100
commite83d0be0de7ebb13735715c9cc257aaec62d49dd (patch)
tree70d2f0585c442b93f4624aa8ac374b2fb83f691d
parent241a8eb4f2461b2fb1635a702a10013510d09f0a (diff)
ht: prenitialize pose to invalid value
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index 1199d16c..53a05ce7 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -177,6 +177,7 @@ void Tracker::start_tracker(QFrame* videoframe)
shm->frame.channels = shm->frame.width = shm->frame.height = 0;
shm->pause = shm->terminate = shm->running = false;
shm->timer = 0;
+ shm->result.filled = false;
subprocess.setWorkingDirectory(QCoreApplication::applicationDirPath() + "/tracker-ht");
#if defined(_WIN32)
subprocess.start("\"" + QCoreApplication::applicationDirPath() + "/tracker-ht/headtracker-ftnoir" + "\"");