Commit 2abfc914 authored by Nicolas Dufresne's avatar Nicolas Dufresne

mss: Fix bus warning handling

It was calling the error parser which would assert and abort.
parent f73992ac
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment