summaryrefslogtreecommitdiffstats
path: root/ext/faad
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-02-02 17:23:33 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-02-02 17:23:33 +0000
commit7fa1c523010e5d29ed1c187baeeb209dde4c9fda (patch)
treedb3128f614eff47d9f1a5c9d569ddc3aa829f30c /ext/faad
parent921fe7a35f7829850e4609b9ece9d4ed72fae813 (diff)
downloadgst-plugins-bad-7fa1c523010e5d29ed1c187baeeb209dde4c9fda.tar.gz
gst-plugins-bad-7fa1c523010e5d29ed1c187baeeb209dde4c9fda.tar.bz2
gst-plugins-bad-7fa1c523010e5d29ed1c187baeeb209dde4c9fda.zip
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 "."
Diffstat (limited to 'ext/faad')
-rw-r--r--ext/faad/gstfaad.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c
index 7f3a8c16..bb804cb2 100644
--- a/ext/faad/gstfaad.c
+++ b/ext/faad/gstfaad.c
@@ -359,7 +359,7 @@ gst_faad_chain (GstPad *pad,
faad->channels = channels;
if (gst_faad_srcconnect (faad->srcpad,
gst_pad_get_allowed_caps (faad->srcpad)) <= 0) {
- GST_ELEMENT_ERROR (faad, CORE, NEGOTIATION, NULL, NULL);
+ GST_ELEMENT_ERROR (faad, CORE, NEGOTIATION, (NULL), (NULL));
gst_buffer_unref (buf);
return;
}
@@ -368,7 +368,7 @@ gst_faad_chain (GstPad *pad,
out = faacDecDecode (faad->handle, &info,
GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf));
if (info.error) {
- GST_ELEMENT_ERROR (faad, STREAM, DECODE, NULL,
+ GST_ELEMENT_ERROR (faad, STREAM, DECODE, (NULL),
("Failed to decode buffer: %s",
faacDecGetErrorMessage (info.error)));
gst_buffer_unref (buf);
@@ -381,7 +381,7 @@ gst_faad_chain (GstPad *pad,
faad->channels = info.channels;
if (gst_faad_srcconnect (faad->srcpad,
gst_pad_get_allowed_caps (faad->srcpad)) <= 0) {
- GST_ELEMENT_ERROR (faad, CORE, NEGOTIATION, NULL, NULL);
+ GST_ELEMENT_ERROR (faad, CORE, NEGOTIATION, (NULL), (NULL));
gst_buffer_unref (buf);
return;
}