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 --- gst/goom/gstgoom.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gst/goom') diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 95059053..5aa043fe 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -270,7 +270,9 @@ gst_goom_chain (GstPad *pad, GstData *_data) } if (goom->channels == 0) { - gst_element_error (GST_ELEMENT (goom), "sink format not negotiated"); + gst_element_error (goom, CORE, NEGOTIATION, NULL, + ("format wasn't negotiated before chain function")); + goto done; } -- cgit