parent
e84e1f418e
commit
d8001fbcd6
@ -0,0 +1,30 @@
|
|||||||
|
From e2bc7a1fe46c0dcee708584555d445c9e066b6a1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Chris Mayo <aklhfex@gmail.com>
|
||||||
|
Date: Wed, 21 Dec 2022 19:32:02 +0000
|
||||||
|
Subject: [PATCH] raw-load: make compatible with LibRaw 0.21.0
|
||||||
|
|
||||||
|
imgdata.params.shot_select moved to imgdata.rawparams.shot_select
|
||||||
|
https://github.com/LibRaw/LibRaw/blob/979160ff13/Changelog.txt#L182
|
||||||
|
---
|
||||||
|
operations/external/raw-load.c | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/operations/external/raw-load.c b/operations/external/raw-load.c
|
||||||
|
index 13eb661c2f8b..7de2e232df46 100644
|
||||||
|
--- a/operations/external/raw-load.c
|
||||||
|
+++ b/operations/external/raw-load.c
|
||||||
|
@@ -114,7 +114,11 @@ prepare (GeglOperation *operation)
|
||||||
|
g_warning ("raw-load: Error Initializing raw library");
|
||||||
|
else
|
||||||
|
{
|
||||||
|
+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
|
||||||
|
+ p->LibRaw->rawparams.shot_select = o->image_num;
|
||||||
|
+#else
|
||||||
|
p->LibRaw->params.shot_select = o->image_num;
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
p->LibRaw->params.aber[0] = 1.0;
|
||||||
|
p->LibRaw->params.aber[2] = 1.0;
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
Loading…
Reference in new issue