From 3b0cf935f687c359319104d7b0dd7d73c90da6a9 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 18 Jan 2004 21:46:58 +0000 Subject: use new error signal and classification Original commit message from CVS: use new error signal and classification --- ext/esd/esdsink.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/esd/esdsink.c') diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index f02d3875..a66be1a8 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -265,7 +265,8 @@ gst_esdsink_chain (GstPad *pad, GstData *_data) esdsink = GST_ESDSINK (gst_pad_get_parent (pad)); if (!esdsink->negotiated) { - gst_element_error (GST_ELEMENT (esdsink), "not negotiated"); + gst_element_error (esdsink, CORE, NEGOTIATION, NULL, + ("element wasn't negotiated before chain function")); goto done; } -- cgit