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. --- ext/esd/esdmon.c | 4 +--- ext/esd/esdsink.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'ext/esd') diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index ab85c151..ae8d4fd4 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -266,9 +266,7 @@ gst_esdmon_get (GstPad *pad) "channels", GST_PROPS_INT (esdmon->channels) )) <= 0) { - gst_element_gerror(GST_ELEMENT (esdmon), GST_ERROR_UNKNOWN, - g_strdup ("unconverted error, file a bug"), - g_strdup_printf("could not set caps")); + gst_element_error (GST_ELEMENT (esdmon), "could not set caps"); return NULL; } } diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index f9be01c6..f4557383 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -266,9 +266,7 @@ gst_esdsink_chain (GstPad *pad, GstBuffer *buf) esdsink = GST_ESDSINK (gst_pad_get_parent (pad)); if (!esdsink->negotiated) { - gst_element_gerror(GST_ELEMENT (esdsink), GST_ERROR_UNKNOWN, - g_strdup ("unconverted error, file a bug"), - g_strdup_printf("not negotiated")); + gst_element_error (GST_ELEMENT (esdsink), "not negotiated"); goto done; } -- cgit