diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-02-26 12:14:01 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-02-26 12:14:01 +0100 |
commit | 626407999d3f83dbc0f422b0f00fcace592e851f (patch) | |
tree | d97f274756a78036f9251fee1ef8aadfdcb2bce5 /tracker-aruco/ftnoir_tracker_aruco.cpp | |
parent | b9f26f5e3fd62c7afe7cd265123336d66e1c6259 (diff) |
tracker/aruco: allow use of mjpeg compression
Issue: #1431
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r-- | tracker-aruco/ftnoir_tracker_aruco.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp index 4e31d90d..1f39db32 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.cpp +++ b/tracker-aruco/ftnoir_tracker_aruco.cpp @@ -179,6 +179,8 @@ bool aruco_tracker::open_camera() if (fps) args.fps = fps; + args.use_mjpeg = s.use_mjpeg; + if (!camera->start(args)) { qDebug() << "aruco tracker: can't open camera"; @@ -526,6 +528,7 @@ aruco_dialog::aruco_dialog() : tie_setting(s.headpos_x, ui.cx); tie_setting(s.headpos_y, ui.cy); tie_setting(s.headpos_z, ui.cz); + tie_setting(s.use_mjpeg, ui.use_mjpeg); connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK())); connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel())); |