From aaaea24c216f36e7a9d9601c88174dca63ec59f4 Mon Sep 17 00:00:00 2001 From: Victor Sergienko Date: Tue, 27 Jan 2015 16:15:10 +0200 Subject: network/http-launch: segfault on GStreamer warnings because of wrong parsing function --- network/http-launch/http-launch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network') diff --git a/network/http-launch/http-launch.c b/network/http-launch/http-launch.c index 44871d3..7071b1e 100644 --- a/network/http-launch/http-launch.c +++ b/network/http-launch/http-launch.c @@ -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); -- cgit v1.2.3