Antonio Larrosa
3a42ff293f
- Add patch from upstream to fix va_list APIs for ppc64le and aarch64, where va_list is not a pointer (boo#1195818): * 0001-spa-json-fix-va_list-APIs-for-different-architectures.patch - Add patch from upstream to fix a crash if config.properties is nil: * 0001-restore-stream-do-not-crash-if-config_properties-is-nil.patch OBS-URL: https://build.opensuse.org/request/show/953377 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=32
26 lines
800 B
Diff
26 lines
800 B
Diff
From 5f96f69218273573e625475846269b3914cfcecf Mon Sep 17 00:00:00 2001
|
|
From: George Kiagiadakis <george.kiagiadakis@collabora.com>
|
|
Date: Wed, 9 Feb 2022 13:35:13 +0200
|
|
Subject: [PATCH] restore-stream: do not crash if config.properties is nil
|
|
|
|
Fixes #190
|
|
---
|
|
src/scripts/restore-stream.lua | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/scripts/restore-stream.lua b/src/scripts/restore-stream.lua
|
|
index 404eede5..0c17bdd7 100644
|
|
--- a/src/scripts/restore-stream.lua
|
|
+++ b/src/scripts/restore-stream.lua
|
|
@@ -10,6 +10,7 @@
|
|
|
|
-- Receive script arguments from config.lua
|
|
local config = ... or {}
|
|
+config.properties = config.properties or {}
|
|
config_restore_props = config.properties["restore-props"] or false
|
|
config_restore_target = config.properties["restore-target"] or false
|
|
|
|
--
|
|
GitLab
|
|
|