summaryrefslogtreecommitdiffstats
path: root/ext/esd/esdmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/esd/esdmon.c')
-rw-r--r--ext/esd/esdmon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c
index ae8d4fd4..ab85c151 100644
--- a/ext/esd/esdmon.c
+++ b/ext/esd/esdmon.c
@@ -266,7 +266,9 @@ gst_esdmon_get (GstPad *pad)
"channels", GST_PROPS_INT (esdmon->channels)
)) <= 0)
{
- gst_element_error (GST_ELEMENT (esdmon), "could not set caps");
+ gst_element_gerror(GST_ELEMENT (esdmon), GST_ERROR_UNKNOWN,
+ g_strdup ("unconverted error, file a bug"),
+ g_strdup_printf("could not set caps"));
return NULL;
}
}