mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +00:00
ext/sdl/sdlaudiosink.c: Use (NULL) instead of just NULL in GST_ELEMENT_ERROR macro.
Original commit message from CVS: * ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_prepare): Use (NULL) instead of just NULL in GST_ELEMENT_ERROR macro.
This commit is contained in:
parent
3959e201fe
commit
e874927200
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* ext/sdl/sdlaudiosink.c: (gst_sdlaudio_sink_prepare):
|
||||||
|
Use (NULL) instead of just NULL in GST_ELEMENT_ERROR macro.
|
||||||
|
|
||||||
2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
|
2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -389,19 +389,19 @@ gst_sdlaudio_sink_prepare (GstAudioSink * asink, GstRingBufferSpec * spec)
|
||||||
unable_open:
|
unable_open:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (sdlaudio, RESOURCE, OPEN_READ,
|
GST_ELEMENT_ERROR (sdlaudio, RESOURCE, OPEN_READ,
|
||||||
("Unable to open audio: %s", SDL_GetError ()), NULL);
|
("Unable to open audio: %s", SDL_GetError ()), (NULL));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
wrong_format:
|
wrong_format:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (sdlaudio, RESOURCE, OPEN_READ,
|
GST_ELEMENT_ERROR (sdlaudio, RESOURCE, OPEN_READ,
|
||||||
("Unable to get format %d", spec->format), NULL);
|
("Unable to get format %d", spec->format), (NULL));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
dodgy_width:
|
dodgy_width:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (sdlaudio, RESOURCE, OPEN_READ,
|
GST_ELEMENT_ERROR (sdlaudio, RESOURCE, OPEN_READ,
|
||||||
("unexpected width %d", spec->width), NULL);
|
("unexpected width %d", spec->width), (NULL));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue