diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-02-02 17:23:33 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-02-02 17:23:33 +0000 |
commit | 79bc3ebfa12cd6913654b168ad8d1591fa46097c (patch) | |
tree | da9a78ba712c51bc62830d695291f736e8551b02 /ext/esd | |
parent | a47dc77f1899c53c28ad4f1c0c72d4b47488cae3 (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')
-rw-r--r-- | ext/esd/esdmon.c | 2 | ||||
-rw-r--r-- | ext/esd/esdsink.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c index 6fd9c194..25e9df81 100644 --- a/ext/esd/esdmon.c +++ b/ext/esd/esdmon.c @@ -267,7 +267,7 @@ gst_esdmon_get (GstPad *pad) "channels", G_TYPE_INT, esdmon->channels )) <= 0) { - GST_ELEMENT_ERROR (esdmon, CORE, NEGOTIATION, NULL, NULL); + GST_ELEMENT_ERROR (esdmon, CORE, NEGOTIATION, (NULL), (NULL)); return NULL; } } 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; } |