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/monoscope/gstmonoscope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/monoscope') diff --git a/gst/monoscope/gstmonoscope.c b/gst/monoscope/gstmonoscope.c index 3a066af6..fa85814c 100644 --- a/gst/monoscope/gstmonoscope.c +++ b/gst/monoscope/gstmonoscope.c @@ -230,7 +230,7 @@ gst_monoscope_chain (GstPad *pad, GstData *_data) GST_DEBUG ("making new pad"); if (!gst_pad_is_negotiated (monoscope->srcpad)) { if (gst_pad_renegotiate (monoscope->srcpad) <= 0) { - gst_element_error (GST_ELEMENT (monoscope), "could not set caps"); + gst_element_error (monoscope, CORE, NEGOTIATION, NULL, NULL); return; } } -- cgit