summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h b/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h
index 20ede0dd..fba755bd 100644
--- a/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h
+++ b/ftnoir_tracker_pt/ftnoir_tracker_pt_settings.h
@@ -15,8 +15,8 @@ using namespace options;
struct settings : opts
{
- value<int> cam_index,
- cam_res_x,
+ value<QString> camera_name;
+ value<int> cam_res_x,
cam_res_y,
cam_fps,
threshold,
@@ -38,7 +38,7 @@ struct settings : opts
settings() :
opts("tracker-pt"),
- cam_index(b, "camera-index", 0),
+ camera_name(b, "camera-name", ""),
cam_res_x(b, "camera-res-width", 640),
cam_res_y(b, "camera-res-height", 480),
cam_fps(b, "camera-fps", 30),