mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
This fixes the build, where backtrace_symbols was being used. This also adds two patches, the larger one was submitted upstream but hasn't been accepted yet. They are required for supporting the Librem 5 camera.
26 lines
727 B
Diff
26 lines
727 B
Diff
From e51592c423d586627086a5017ad5d9fd83c907e6 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 a597e27f..c0a70ec5 100644
|
|
--- a/src/libcamera/pipeline/simple/simple.cpp
|
|
+++ b/src/libcamera/pipeline/simple/simple.cpp
|
|
@@ -520,6 +520,7 @@ int SimpleCameraData::init()
|
|
}
|
|
|
|
properties_ = sensor_->properties();
|
|
+ controlInfo_ = sensor_->controls();
|
|
|
|
return 0;
|
|
}
|
|
--
|
|
2.31.1
|
|
|