forked from pool/wireplumber
Antonio Larrosa
c5b5db5d58
- Add patch from upstream to fix a json log issue: * 0001-lua-json-fix-error-ouput.patch - Add patch from upstream to add a method to merge json containers: * 0002-lua-json-add-method-to-merge-json-containers.patch - Add patch from upstream to fix merging a particular case of configuration options: * 0003-json-utils-fix-overriding-of-non-container-values-when.patch - Fix wireplumber not starting successfully when audio support is not enabled since the main profile now requires it. The best option would be to use a video-only profile but it's too late to change the way wireplumber is started in SLE/Leap, so the solution just makes audio/bluetooth optional for now (bsc#1223916) * split-config-file.py OBS-URL: https://build.opensuse.org/request/show/1172110 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wireplumber?expand=0&rev=78
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 709eecb21f30a157b9a4aa8ab45a4c1ec608d628 Mon Sep 17 00:00:00 2001
|
|
From: Stefan Ursella <stefan.ursella@wolfvision.net>
|
|
Date: Fri, 26 Apr 2024 07:27:31 +0200
|
|
Subject: [PATCH] lua: json: fix error ouput
|
|
|
|
---
|
|
modules/module-lua-scripting/api/json.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/modules/module-lua-scripting/api/json.c b/modules/module-lua-scripting/api/json.c
|
|
index 242f0e410..5afa5c914 100644
|
|
--- a/modules/module-lua-scripting/api/json.c
|
|
+++ b/modules/module-lua-scripting/api/json.c
|
|
@@ -281,7 +281,7 @@ spa_json_array_new (lua_State *L)
|
|
break;
|
|
}
|
|
default:
|
|
- luaL_error (L, "Json does not support lua type ",
|
|
+ luaL_error (L, "Json does not support lua type %s",
|
|
lua_typename(L, lua_type(L, -1)));
|
|
break;
|
|
}
|
|
@@ -327,7 +327,7 @@ spa_json_object_new (lua_State *L)
|
|
break;
|
|
}
|
|
default:
|
|
- luaL_error (L, "Json does not support lua type ",
|
|
+ luaL_error (L, "Json does not support lua type %s",
|
|
lua_typename(L, lua_type(L, -1)));
|
|
break;
|
|
}
|
|
--
|
|
GitLab
|
|
|