From: Thomas Vander Stichele Date: Sun, 18 Jan 2004 21:46:58 +0000 (+0000) Subject: use new error signal and classification X-Git-Tag: 1.19.3~509^2~1916^2~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d7f601bb291828ea056132efed2fbf936d72eee;p=platform%2Fupstream%2Fgstreamer.git use new error signal and classification Original commit message from CVS: use new error signal and classification --- diff --git a/ext/lame/gstlame.c b/ext/lame/gstlame.c index 533f896..f2d3747 100644 --- a/ext/lame/gstlame.c +++ b/ext/lame/gstlame.c @@ -354,8 +354,8 @@ 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 (GST_ELEMENT (lame), - "could not initialize encoder (wrong parameters?)"); + 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 (GST_ELEMENT (lame), "encoder not initialized (input is not audio?)"); + gst_element_error (lame, CORE, NEGOTIATION, NULL, ("encoder not initialized (input is not audio?)")); return; }