network/http-launch: segfault on GStreamer warnings because of wrong parsing function

This commit is contained in:
Victor Sergienko 2015-01-27 16:15:10 +02:00 committed by Sebastian Dröge
parent 28507ed0cf
commit aaaea24c21

View file

@ -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);