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/auparse/gstauparse.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gst/auparse/gstauparse.c') diff --git a/gst/auparse/gstauparse.c b/gst/auparse/gstauparse.c index 075f5f4d..422ee1ba 100644 --- a/gst/auparse/gstauparse.c +++ b/gst/auparse/gstauparse.c @@ -287,9 +287,7 @@ gst_auparse_chain (GstPad *pad, GstBuffer *buf) if (gst_pad_try_set_caps (auparse->srcpad, tempcaps) <= 0) { gst_buffer_unref (buf); - gst_element_gerror(GST_ELEMENT (auparse), GST_ERROR_UNKNOWN, - g_strdup ("unconverted error, file a bug"), - g_strdup_printf("could not set audio caps")); + gst_element_error (GST_ELEMENT (auparse), "could not set audio caps"); return; } -- cgit