diff options
Diffstat (limited to 'ext/mplex')
-rw-r--r-- | ext/mplex/gstmplex.cc | 4 | ||||
-rw-r--r-- | ext/mplex/gstmplexibitstream.cc | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/mplex/gstmplex.cc b/ext/mplex/gstmplex.cc index 66638b84..0eb87779 100644 --- a/ext/mplex/gstmplex.cc +++ b/ext/mplex/gstmplex.cc @@ -279,8 +279,8 @@ gst_mplex_loop (GstElement *element) } if (!mplex->job->video_tracks && !mplex->job->audio_tracks) { - gst_element_error (element, - "No input stream set-up"); + gst_element_error (element, CORE, NEGOTIATION, NULL, + ("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 59f913a6..21e1892e 100644 --- a/ext/mplex/gstmplexibitstream.cc +++ b/ext/mplex/gstmplexibitstream.cc @@ -53,9 +53,9 @@ GstMplexIBitStream::GstMplexIBitStream (GstPad *_pad, gst_bytestream_peek_bytes (bs, &data, 1); if (!ReadIntoBuffer () && buffered == 0) { - gst_element_error (gst_pad_get_parent (_pad), - "Failed to read from input stream %s", - gst_pad_get_name (pad)); + gst_element_error (gst_pad_get_parent (_pad), RESOURCE, READ, NULL, + ("Failed to read from input pad %s", + gst_pad_get_name (pad))); } } |