mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 02:05:16 +03:00
Drops some patches that were upstreamed, and includes a new patch from Purism to fix some random crashes
25 lines
727 B
Diff
25 lines
727 B
Diff
From 99168dcfedcae18d84ccfc6b64da51bab1f4f770 Mon Sep 17 00:00:00 2001
|
|
From: Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
|
|
Date: Mon, 1 Nov 2021 15:45:04 +0000
|
|
Subject: [PATCH] use sensor's controls
|
|
|
|
This prevents random crashes in simple camera handler
|
|
---
|
|
src/libcamera/pipeline/simple/simple.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp
|
|
index 37b3e7ac..2dbcb4c1 100644
|
|
--- a/src/libcamera/pipeline/simple/simple.cpp
|
|
+++ b/src/libcamera/pipeline/simple/simple.cpp
|
|
@@ -537,6 +537,7 @@ int SimpleCameraData::init()
|
|
}
|
|
|
|
properties_ = sensor_->properties();
|
|
+ controlInfo_ = sensor_->controls();
|
|
|
|
return 0;
|
|
}
|
|
--
|
|
2.38.0
|
|
|