summaryrefslogtreecommitdiffstats
path: root/gst/goom/gstgoom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/goom/gstgoom.c')
-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;
}