1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

winegstreamer: Ask GStreamer to stop messing with signal handlers.

This commit is contained in:
Rémi Bernon 2024-01-24 19:29:15 +01:00 committed by Alexandre Julliard
parent 268f3adce9
commit 02921e4900

View file

@ -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);