mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +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;
|
gchar *debug;
|
||||||
GError *err;
|
GError *err;
|
||||||
|
|
||||||
gst_message_parse_error (message, &err, &debug);
|
gst_message_parse_warning (message, &err, &debug);
|
||||||
g_print ("Warning %s\n", err->message);
|
g_print ("Warning %s\n", err->message);
|
||||||
g_error_free (err);
|
g_error_free (err);
|
||||||
g_free (debug);
|
g_free (debug);
|
||||||
|
|
Loading…
Reference in a new issue