Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
02921e49
Commit
02921e49
authored
Jan 24, 2024
by
Rémi Bernon
Committed by
Alexandre Julliard
Jan 30, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Ask GStreamer to stop messing with signal handlers.
parent
268f3adc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
unixlib.c
dlls/winegstreamer/unixlib.c
+7
-0
No files found.
dlls/winegstreamer/unixlib.c
View file @
02921e49
...
@@ -253,6 +253,13 @@ NTSTATUS wg_init_gstreamer(void *arg)
...
@@ -253,6 +253,13 @@ NTSTATUS wg_init_gstreamer(void *arg)
char
**
argv
=
args
;
char
**
argv
=
args
;
GError
*
err
;
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
))
if
(
!
gst_init_check
(
&
argc
,
&
argv
,
&
err
))
{
{
fprintf
(
stderr
,
"winegstreamer: failed to initialize GStreamer: %s
\n
"
,
err
->
message
);
fprintf
(
stderr
,
"winegstreamer: failed to initialize GStreamer: %s
\n
"
,
err
->
message
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment