diff options
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/camera.cpp b/tracker-pt/camera.cpp index 28c95bf4..5e00499c 100644 --- a/tracker-pt/camera.cpp +++ b/tracker-pt/camera.cpp @@ -103,7 +103,7 @@ DEFUN_WARN_UNUSED Camera::open_status Camera::start(int idx, int fps, int res_x, { cam_info = CamInfo(); active_name = QString(); - cam_info.idx = -1; + cam_info.idx = idx; dt_mean = 0; active_name = desired_name; |