Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Show Cases
IBC 2019
multistream-server
Commits
2abfc914
Commit
2abfc914
authored
Aug 29, 2019
by
Nicolas Dufresne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mss: Fix bus warning handling
It was calling the error parser which would assert and abort.
parent
f73992ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/main.c
src/main.c
+3
-2
No files found.
src/main.c
View file @
2abfc914
...
...
@@ -47,8 +47,9 @@ gst_bus_cb (GstBus * bus, GstMessage * message, gpointer data)
{
GError
*
gerr
;
gchar
*
debug_msg
;
gst_message_parse_error
(
message
,
&
gerr
,
&
debug_msg
);
g_warning
(
"Error: %s (%s)"
,
gerr
->
message
,
debug_msg
);
gst_message_parse_warning
(
message
,
&
gerr
,
&
debug_msg
);
GST_DEBUG_BIN_TO_DOT_FILE
(
pipeline
,
GST_DEBUG_GRAPH_SHOW_ALL
,
"mss-pipeline-WARNING"
);
g_warning
(
"Warning: %s (%s)"
,
gerr
->
message
,
debug_msg
);
g_error_free
(
gerr
);
g_free
(
debug_msg
);
}
...
...
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