From: Thomas Vander Stichele Date: Thu, 29 Jan 2004 23:20:44 +0000 (+0000) Subject: GST_ELEMENT_ERROR X-Git-Tag: 1.16.2~901^2~142 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c16fefbf824e01e8b949bb68fcc2fb04a1154004;p=platform%2Fupstream%2Fgst-plugins-good.git GST_ELEMENT_ERROR Original commit message from CVS: GST_ELEMENT_ERROR --- diff --git a/ext/lame/gstlame.c b/ext/lame/gstlame.c index f2d3747..ce2ecdf 100644 --- a/ext/lame/gstlame.c +++ b/ext/lame/gstlame.c @@ -354,7 +354,7 @@ gst_lame_sink_link (GstPad *pad, const GstCaps *caps) gst_structure_get_int (structure, "channels", &lame->num_channels); if (!gst_lame_setup (lame)) { - gst_element_error (lame, CORE, NEGOTIATION, NULL, + GST_ELEMENT_ERROR (lame, CORE, NEGOTIATION, NULL, ("could not initialize encoder (wrong parameters?)")); return GST_PAD_LINK_REFUSED; } @@ -785,7 +785,7 @@ gst_lame_chain (GstPad *pad, GstData *_data) if (!lame->initialized) { gst_buffer_unref (buf); - gst_element_error (lame, CORE, NEGOTIATION, NULL, ("encoder not initialized (input is not audio?)")); + GST_ELEMENT_ERROR (lame, CORE, NEGOTIATION, NULL, ("encoder not initialized (input is not audio?)")); return; }