mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
network/http-launch: segfault on GStreamer warnings because of wrong parsing function
This commit is contained in:
parent
28507ed0cf
commit
aaaea24c21
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ on_message (GstBus * bus, GstMessage * message, gpointer user_data)
|
|||
gchar *debug;
|
||||
GError *err;
|
||||
|
||||
gst_message_parse_error (message, &err, &debug);
|
||||
gst_message_parse_warning (message, &err, &debug);
|
||||
g_print ("Warning %s\n", err->message);
|
||||
g_error_free (err);
|
||||
g_free (debug);
|
||||
|
|
Loading…
Reference in a new issue