diff options
author | Benjamin Otte <otte@gnome.org> | 2003-09-15 01:08:40 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-09-15 01:08:40 +0000 |
commit | 982b39d30a05a9edf6f20353c0a91fdedeecad3e (patch) | |
tree | b58d134d7fbe3f6a04dc2ba5c235a1ca1d8de82d /ext/ladspa | |
parent | 36a375425114527faef71ad4193c41bcfe738a4b (diff) | |
download | gst-plugins-bad-982b39d30a05a9edf6f20353c0a91fdedeecad3e.tar.gz gst-plugins-bad-982b39d30a05a9edf6f20353c0a91fdedeecad3e.tar.bz2 gst-plugins-bad-982b39d30a05a9edf6f20353c0a91fdedeecad3e.zip |
converted gst_element_error to new format in ext/ - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in ext/ - gettext pending
Diffstat (limited to 'ext/ladspa')
-rw-r--r-- | ext/ladspa/gstladspa.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/ladspa/gstladspa.c b/ext/ladspa/gstladspa.c index 460bdf12..2611603f 100644 --- a/ext/ladspa/gstladspa.c +++ b/ext/ladspa/gstladspa.c @@ -701,7 +701,9 @@ gst_ladspa_loop (GstElement *element) } if (!ladspa->bufpool) { - gst_element_error (element, "Caps were never set, bailing..."); + gst_element_gerror(element, "Caps were never set, GST_ERROR_UNKNOWN, + g_strdup ("unconverted error, file a bug"), + g_strdup_printf(bailing...")); return; } @@ -791,7 +793,9 @@ gst_ladspa_chain (GstPad *pad, GstBuffer *buffer_in) g_return_if_fail (GST_IS_BUFFER (buffer_in)); if (!ladspa->bufpool) { - gst_element_error ((GstElement*)ladspa, "Caps were never set, bailing..."); + gst_element_gerror((GstElement*)ladspa, "Caps were never set, GST_ERROR_UNKNOWN, + g_strdup ("unconverted error, file a bug"), + g_strdup_printf(bailing...")); return; } |