From 48d1d1a06eb6acad0b0f436dcc73a19b408edb32 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Aug 2021 03:14:46 +0200 Subject: tracker/{pt,wii}: pass camera options through bundle --- tracker-wii/wii_camera.cpp | 2 +- tracker-wii/wii_camera.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-wii') diff --git a/tracker-wii/wii_camera.cpp b/tracker-wii/wii_camera.cpp index 973d7fab..98d180bf 100644 --- a/tracker-wii/wii_camera.cpp +++ b/tracker-wii/wii_camera.cpp @@ -86,7 +86,7 @@ WIICamera::result WIICamera::get_frame(pt_frame& frame_) return result(true, cam_info); } -bool WIICamera::start(const QString&, int, int, int) +bool WIICamera::start(const pt_settings&) { m_pDev = std::make_unique(); m_pDev->ChangedCallback = on_state_change; diff --git a/tracker-wii/wii_camera.h b/tracker-wii/wii_camera.h index 3d0ad1aa..038e25e7 100644 --- a/tracker-wii/wii_camera.h +++ b/tracker-wii/wii_camera.h @@ -30,7 +30,7 @@ struct WIICamera final : pt_camera WIICamera(const QString& module_name); ~WIICamera() override; - bool start(const QString& name, int fps, int res_x, int res_y) override; + bool start(const pt_settings&) override; void stop() override; result get_frame(pt_frame& Frame) override; -- cgit v1.2.3