diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2003-09-16 10:00:02 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2003-09-16 10:00:02 +0000 |
commit | 54b0fe0f9472e1e6554dba0b9697151a9ef319a3 (patch) | |
tree | 2f0cb83625c9c8332600418933f0b6690fd6869e /ext/esd | |
parent | 8817348af768345a644ed05f621f1b5392f325a0 (diff) |
reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
Diffstat (limited to 'ext/esd')
-rw-r--r-- | ext/esd/esdmon.c | 4 | ||||
-rw-r--r-- | ext/esd/esdsink.c | 4 |
2 files changed, 2 insertions, 6 deletions
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; } |