From 982b39d30a05a9edf6f20353c0a91fdedeecad3e Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 15 Sep 2003 01:08:40 +0000 Subject: 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 --- ext/lcs/gstcolorspace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext/lcs') diff --git a/ext/lcs/gstcolorspace.c b/ext/lcs/gstcolorspace.c index 0ed3b278..00f61e43 100644 --- a/ext/lcs/gstcolorspace.c +++ b/ext/lcs/gstcolorspace.c @@ -318,7 +318,9 @@ gst_colorspace_srcconnect_func (GstPad *pad, GstCaps *caps, gboolean newcaps) peercaps = peercaps->next; } - //gst_element_error (GST_ELEMENT (space), "could not agree on caps with peer pads"); + //gst_element_gerror(GST_ELEMENT (space), GST_ERROR_UNKNOWN, + g_strdup ("unconverted error, file a bug"), + g_strdup_printf("could not agree on caps with peer pads")); /* we disable ourself here */ space->disabled = TRUE; -- cgit v1.2.1