summaryrefslogtreecommitdiff
path: root/src/gstreamer
diff options
context:
space:
mode:
Diffstat (limited to 'src/gstreamer')
-rw-r--r--src/gstreamer/gstlibcamera-utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gstreamer/gstlibcamera-utils.cpp b/src/gstreamer/gstlibcamera-utils.cpp
index e1af30c8..cef5b03f 100644
--- a/src/gstreamer/gstlibcamera-utils.cpp
+++ b/src/gstreamer/gstlibcamera-utils.cpp
@@ -236,7 +236,7 @@ gst_libcamera_resume_task(GstTask *task)
}
G_LOCK_DEFINE_STATIC(cm_singleton_lock);
-std::weak_ptr<CameraManager> cm_singleton_ptr;
+static std::weak_ptr<CameraManager> cm_singleton_ptr;
std::shared_ptr<CameraManager>
gst_libcamera_get_camera_mananger(int &ret)