diff options
author | Victor Sergienko <singalen@gmail.com> | 2015-01-27 16:15:10 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-01-27 22:34:57 +0100 |
commit | fe19ac0b13d16e8dbcf53bcebd0ec7e2981fadba (patch) | |
tree | 8fd994b60f2063a2124da78912f1170edd34452a | |
parent | 9930b4046df373dc5d6432f02dad737a91e87cf0 (diff) |
segfault on GStreamer warnings because of wrong parsing function
-rw-r--r-- | http-launch/src/http-launch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http-launch/src/http-launch.c b/http-launch/src/http-launch.c index 44871d3..7071b1e 100644 --- a/http-launch/src/http-launch.c +++ b/http-launch/src/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); |