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:
Ronald S. Bultje 2004-01-20 13:38:06 +00:00
parent 575e9fc0ce
commit 71121018f6
3 changed files with 9 additions and 2 deletions

View file

@ -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:

View file

@ -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;
}

View file

@ -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)));
}