summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Sergienko <singalen@gmail.com>2015-01-27 16:15:10 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-01-27 22:34:57 +0100
commitaaaea24c216f36e7a9d9601c88174dca63ec59f4 (patch)
treef9577b555888fb227821db9a3937ed38fbb84fc5
parent28507ed0cfab7f56c5ffc09a8c9d2329da56d278 (diff)
network/http-launch: segfault on GStreamer warnings because of wrong parsing function
-rw-r--r--network/http-launch/http-launch.c2
1 files changed, 1 insertions, 1 deletions
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);