Module: wine
Branch: master
Commit: 94a7b32a55fa46d7156907b8ea6b68b545cb3122
URL: https://gitlab.winehq.org/wine/wine/-/commit/94a7b32a55fa46d7156907b8ea6b68…
Author: Arkadiusz Hiler <ahiler(a)codeweavers.com>
Date: Tue Jan 30 00:18:58 2024 +0200
winebus.sys: Fix units used for hat switches.
The 0xe nibble value is reserved and makes hid-decode from hid-tools
crash while tryign to parse the descriptor.
0x0 is the correct way of expressing no special units are used.
---
dlls/winebus.sys/hid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winebus.sys/hid.c b/dlls/winebus.sys/hid.c
index 6d2b484ccca..733f9a51f96 100644
--- a/dlls/winebus.sys/hid.c
+++ b/dlls/winebus.sys/hid.c
@@ -233,7 +233,7 @@ BOOL hid_device_add_hatswitch(struct unix_device *iface, INT count)
LOGICAL_MAXIMUM(1, 8),
REPORT_SIZE(1, 8),
REPORT_COUNT(4, count),
- UNIT(1, 0x0e /* none */),
+ UNIT(1, 0x0), /* None */
INPUT(1, Data|Var|Abs|Null),
};
Module: wine
Branch: master
Commit: 02921e4900b5b377a4b4b0cddbb7c2b7419cee9e
URL: https://gitlab.winehq.org/wine/wine/-/commit/02921e4900b5b377a4b4b0cddbb7c2…
Author: Rémi Bernon <rbernon(a)codeweavers.com>
Date: Wed Jan 24 19:29:15 2024 +0100
winegstreamer: Ask GStreamer to stop messing with signal handlers.
---
dlls/winegstreamer/unixlib.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/dlls/winegstreamer/unixlib.c b/dlls/winegstreamer/unixlib.c
index db9d1eb114f..a2ec66e1990 100644
--- a/dlls/winegstreamer/unixlib.c
+++ b/dlls/winegstreamer/unixlib.c
@@ -253,6 +253,13 @@ NTSTATUS wg_init_gstreamer(void *arg)
char **argv = args;
GError *err;
+ /* GStreamer installs a temporary SEGV handler when it loads plugins
+ * to initialize its registry calling exit(-1) when any fault is caught.
+ * We need to make sure any signal reaches our signal handlers to catch
+ * and handle them, or eventually propagate the exceptions to the user.
+ */
+ gst_segtrap_set_enabled(false);
+
if (!gst_init_check(&argc, &argv, &err))
{
fprintf(stderr, "winegstreamer: failed to initialize GStreamer: %s\n", err->message);