From: Thomas Vander Stichele Date: Mon, 2 Feb 2004 17:23:32 +0000 (+0000) Subject: change NULL to (NULL) for GST_ELEMENT_ERROR X-Git-Tag: 1.19.3~509^2~1916^2~141 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5213815f0be9678a387698e591b4123aab6ec858;p=platform%2Fupstream%2Fgstreamer.git change NULL to (NULL) for GST_ELEMENT_ERROR Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "." --- diff --git a/ext/lame/gstlame.c b/ext/lame/gstlame.c index ce2ecdf..b12ce30 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,8 @@ 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; }