summaryrefslogtreecommitdiffstats
path: root/ext/esd/esdsink.c
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
commit79bc3ebfa12cd6913654b168ad8d1591fa46097c (patch)
treeda9a78ba712c51bc62830d695291f736e8551b02 /ext/esd/esdsink.c
parenta47dc77f1899c53c28ad4f1c0c72d4b47488cae3 (diff)
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/esd/esdsink.c')
-rw-r--r--ext/esd/esdsink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c
index e887a165..4672ab79 100644
--- a/ext/esd/esdsink.c
+++ b/ext/esd/esdsink.c
@@ -255,7 +255,7 @@ gst_esdsink_chain (GstPad *pad, GstData *_data)
esdsink = GST_ESDSINK (gst_pad_get_parent (pad));
if (!esdsink->negotiated) {
- GST_ELEMENT_ERROR (esdsink, CORE, NEGOTIATION, NULL,
+ GST_ELEMENT_ERROR (esdsink, CORE, NEGOTIATION, (NULL),
("element wasn't negotiated before chain function"));
goto done;
}
@@ -394,7 +394,7 @@ gst_esdsink_open_audio (GstEsdsink *sink)
if (sink->depth == 16) esdformat |= ESD_BITS16;
else if (sink->depth == 8) esdformat |= ESD_BITS8;
else {
- GST_ELEMENT_ERROR (sink, STREAM, FORMAT, NULL,
+ GST_ELEMENT_ERROR (sink, STREAM, FORMAT, (NULL),
("invalid bit depth (%d)", sink->depth));
return FALSE;
}
@@ -402,7 +402,7 @@ gst_esdsink_open_audio (GstEsdsink *sink)
if (sink->channels == 2) esdformat |= ESD_STEREO;
else if (sink->channels == 1) esdformat |= ESD_MONO;
else {
- GST_ELEMENT_ERROR (sink, STREAM, FORMAT, NULL,
+ GST_ELEMENT_ERROR (sink, STREAM, FORMAT, (NULL),
("invalid number of channels (%d)", sink->channels));
return FALSE;
}
@@ -414,7 +414,7 @@ gst_esdsink_open_audio (GstEsdsink *sink)
sink->fd = esd_play_stream(esdformat, sink->frequency, sink->host, connname);
}
if ( sink->fd < 0 ) {
- GST_ELEMENT_ERROR (sink, RESOURCE, OPEN_WRITE, NULL,
+ GST_ELEMENT_ERROR (sink, RESOURCE, OPEN_WRITE, (NULL),
("can't open connection to esound server"));
return FALSE;
}