mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
ext/mplex/: g++ doesn't like NULL in our i18n/error macros, should be either (NULL) or ("").
Original commit message from CVS: 2004-01-20 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/mplex/gstmplex.cc: * ext/mplex/gstmplexibitstream.cc: g++ doesn't like NULL in our i18n/error macros, should be either (NULL) or ("").
This commit is contained in:
parent
575e9fc0ce
commit
71121018f6
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-01-20 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/mplex/gstmplex.cc:
|
||||
* ext/mplex/gstmplexibitstream.cc:
|
||||
g++ doesn't like NULL in our i18n/error macros, should be
|
||||
either (NULL) or ("").
|
||||
|
||||
2004-01-20 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* sys/dxr3/dxr3audiosink.c:
|
||||
|
|
|
@ -279,7 +279,7 @@ gst_mplex_loop (GstElement *element)
|
|||
}
|
||||
|
||||
if (!mplex->job->video_tracks && !mplex->job->audio_tracks) {
|
||||
gst_element_error (element, CORE, NEGOTIATION, NULL,
|
||||
gst_element_error (element, CORE, NEGOTIATION, (""),
|
||||
("no input video or audio tracks set up before loop function"));
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ GstMplexIBitStream::GstMplexIBitStream (GstPad *_pad,
|
|||
gst_bytestream_peek_bytes (bs, &data, 1);
|
||||
|
||||
if (!ReadIntoBuffer () && buffered == 0) {
|
||||
gst_element_error (gst_pad_get_parent (_pad), RESOURCE, READ, NULL,
|
||||
gst_element_error (gst_pad_get_parent (_pad), RESOURCE, READ, (""),
|
||||
("Failed to read from input pad %s",
|
||||
gst_pad_get_name (pad)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue