summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README2
-rw-r--r--src/utils.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/README b/README
index 268ab33..2586f03 100644
--- a/README
+++ b/README
@@ -42,7 +42,7 @@ Linux
core:
build-essential
libglib2.0-dev
- libgstreamer1.0-dev
+ libgstreamer1.0-dev (>= 1.4)
pkg-config
if you want to use clang as compiler
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;