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, 1 insertions, 3 deletions
diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c
index ab85c151..ae8d4fd4 100644
--- a/ext/esd/esdmon.c
+++ b/ext/esd/esdmon.c
@@ -266,9 +266,7 @@ gst_esdmon_get (GstPad *pad)
"channels", GST_PROPS_INT (esdmon->channels)
)) <= 0)
{
- gst_element_gerror(GST_ELEMENT (esdmon), GST_ERROR_UNKNOWN,
- g_strdup ("unconverted error, file a bug"),
- g_strdup_printf("could not set caps"));
+ gst_element_error (GST_ELEMENT (esdmon), "could not set caps");
return NULL;
}
}