summaryrefslogtreecommitdiffstats
path: root/ext/esd/esdsink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/esd/esdsink.c')
-rw-r--r--ext/esd/esdsink.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c
index f9be01c6..f4557383 100644
--- a/ext/esd/esdsink.c
+++ b/ext/esd/esdsink.c
@@ -266,9 +266,7 @@ gst_esdsink_chain (GstPad *pad, GstBuffer *buf)
esdsink = GST_ESDSINK (gst_pad_get_parent (pad));
if (!esdsink->negotiated) {
- gst_element_gerror(GST_ELEMENT (esdsink), GST_ERROR_UNKNOWN,
- g_strdup ("unconverted error, file a bug"),
- g_strdup_printf("not negotiated"));
+ gst_element_error (GST_ELEMENT (esdsink), "not negotiated");
goto done;
}