From 54b0fe0f9472e1e6554dba0b9697151a9ef319a3 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 16 Sep 2003 10:00:02 +0000 Subject: reverting error patch before making a branch. Original commit message from CVS: reverting error patch before making a branch. --- gst/monoscope/gstmonoscope.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gst/monoscope') diff --git a/gst/monoscope/gstmonoscope.c b/gst/monoscope/gstmonoscope.c index 0b94604d..9eb8bb43 100644 --- a/gst/monoscope/gstmonoscope.c +++ b/gst/monoscope/gstmonoscope.c @@ -285,9 +285,7 @@ gst_monoscope_chain (GstPad *pad, GstBuffer *bufin) GST_DEBUG ("making new pad"); if (!GST_PAD_CAPS (monoscope->srcpad)) { if (gst_monoscope_negotiate (monoscope) <= 0) { - gst_element_gerror(GST_ELEMENT (monoscope), GST_ERROR_UNKNOWN, - g_strdup ("unconverted error, file a bug"), - g_strdup_printf("could not set caps")); + gst_element_error (GST_ELEMENT (monoscope), "could not set caps"); return; } } -- cgit