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/ladspa/gstladspa.c | |
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/ladspa/gstladspa.c')
-rw-r--r-- | ext/ladspa/gstladspa.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c index 2611603f..460bdf12 100644 --- a/ext/ladspa/gstladspa.c +++ b/ext/ladspa/gstladspa.c @@ -701,9 +701,7 @@ gst_ladspa_loop (GstElement *element) } if (!ladspa->bufpool) { - gst_element_gerror(element, "Caps were never set, GST_ERROR_UNKNOWN, - g_strdup ("unconverted error, file a bug"), - g_strdup_printf(bailing...")); + gst_element_error (element, "Caps were never set, bailing..."); return; } @@ -793,9 +791,7 @@ gst_ladspa_chain (GstPad *pad, GstBuffer *buffer_in) g_return_if_fail (GST_IS_BUFFER (buffer_in)); if (!ladspa->bufpool) { - gst_element_gerror((GstElement*)ladspa, "Caps were never set, GST_ERROR_UNKNOWN, - g_strdup ("unconverted error, file a bug"), - g_strdup_printf(bailing...")); + gst_element_error ((GstElement*)ladspa, "Caps were never set, bailing..."); return; } |