summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-07-22 03:36:36 +0200
committerChristian Pointner <equinox@spreadspace.org>2015-07-22 03:36:36 +0200
commitc760bf1c6b9d087b03c4d43fee03a6ae69b79392 (patch)
tree4dcbdcfdb6afd0e9d88ecbe2bb5e092bd85e9789 /src/utils.c
parentadded launcher scripts (diff)
improved error output for pad linking errorHEADmaster
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index 0797c20..c49a691 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -89,8 +89,8 @@ static gboolean sydra_link_pads(GstElement* src, GstPad* src_pad, const char* sr
if(GST_PAD_LINK_FAILED(ret)) {
gchar* src_name = gst_element_get_name(src);
gchar* sink_name = gst_element_get_name(sink);
- log_printf(ERROR, "Error linking pad '%s' of '%s' with pad '%s' of '%s'",
- src_pad_name, src_name, sink_pad_name, sink_name);
+ log_printf(ERROR, "Error linking pad '%s' of '%s' with pad '%s' of '%s': %s",
+ src_pad_name, src_name, sink_pad_name, sink_name, gst_pad_link_get_name(ret));
g_free(src_name);
g_free(sink_name);
return FALSE;