summaryrefslogtreecommitdiffstats
path: root/gst/goom
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-01-18 21:46:58 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-01-18 21:46:58 +0000
commit3b0cf935f687c359319104d7b0dd7d73c90da6a9 (patch)
treefc4cb9722017426795998bce5cb783e6eaae0365 /gst/goom
parent272db0c22e45b45e88f11a52b793bab588a02534 (diff)
use new error signal and classification
Original commit message from CVS: use new error signal and classification
Diffstat (limited to 'gst/goom')
-rw-r--r--gst/goom/gstgoom.c4
1 files changed, 3 insertions, 1 deletions
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;
}