From 8817348af768345a644ed05f621f1b5392f325a0 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 15 Sep 2003 01:08:39 +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/speex/gstspeexenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext/speex') diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c index dd4cb45f..188a729a 100644 --- a/ext/speex/gstspeexenc.c +++ b/ext/speex/gstspeexenc.c @@ -176,7 +176,9 @@ gst_speexenc_chain (GstPad *pad, GstBuffer *buf) "channels", GST_PROPS_INT (1) ))) { - gst_element_error (GST_ELEMENT (speexenc), "could not negotiate"); + gst_element_gerror(GST_ELEMENT (speexenc), GST_ERROR_UNKNOWN, + g_strdup ("unconverted error, file a bug"), + g_strdup_printf("could not negotiate")); return; } } -- cgit