diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-29 23:20:45 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-29 23:20:45 +0000 |
commit | 92eb19b993e4e1bdd7fef71c1264e0092f4accac (patch) | |
tree | 7055360715831c903e6ae5ca7df13bcf3093be4c /ext/mplex | |
parent | 7c858cbf0f10a48386f7098420fde939eda25eb5 (diff) | |
download | gst-plugins-bad-92eb19b993e4e1bdd7fef71c1264e0092f4accac.tar.gz gst-plugins-bad-92eb19b993e4e1bdd7fef71c1264e0092f4accac.tar.bz2 gst-plugins-bad-92eb19b993e4e1bdd7fef71c1264e0092f4accac.zip |
GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
Diffstat (limited to 'ext/mplex')
-rw-r--r-- | ext/mplex/gstmplex.cc | 2 | ||||
-rw-r--r-- | ext/mplex/gstmplexibitstream.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index ded48922..060e5d04 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -279,7 +279,7 @@ gst_mplex_loop (GstElement *element) } if (!mplex->job->video_tracks && !mplex->job->audio_tracks) { - gst_element_error (element, CORE, NEGOTIATION, (""), + GST_ELEMENT_ERROR (element, CORE, NEGOTIATION, (""), ("no input video or audio tracks set up before loop function")); return; } diff --git a/ext/mplex/gstmplexibitstream.cc b/ext/mplex/gstmplexibitstream.cc index b47c074a..1867c657 100644 --- a/ext/mplex/gstmplexibitstream.cc +++ b/ext/mplex/gstmplexibitstream.cc @@ -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, (""), + GST_ELEMENT_ERROR (gst_pad_get_parent (_pad), RESOURCE, READ, (""), ("Failed to read from input pad %s", gst_pad_get_name (pad))); } |