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/faad | |
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/faad')
-rw-r--r-- | ext/faad/gstfaad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 67bcdddb..7f3a8c16 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -359,7 +359,7 @@ gst_faad_chain (GstPad *pad, faad->channels = channels; if (gst_faad_srcconnect (faad->srcpad, gst_pad_get_allowed_caps (faad->srcpad)) <= 0) { - gst_element_error (faad, CORE, NEGOTIATION, NULL, NULL); + GST_ELEMENT_ERROR (faad, CORE, NEGOTIATION, NULL, NULL); gst_buffer_unref (buf); return; } @@ -368,7 +368,7 @@ gst_faad_chain (GstPad *pad, out = faacDecDecode (faad->handle, &info, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf)); if (info.error) { - gst_element_error (faad, STREAM, DECODE, NULL, + GST_ELEMENT_ERROR (faad, STREAM, DECODE, NULL, ("Failed to decode buffer: %s", faacDecGetErrorMessage (info.error))); gst_buffer_unref (buf); @@ -381,7 +381,7 @@ gst_faad_chain (GstPad *pad, faad->channels = info.channels; if (gst_faad_srcconnect (faad->srcpad, gst_pad_get_allowed_caps (faad->srcpad)) <= 0) { - gst_element_error (faad, CORE, NEGOTIATION, NULL, NULL); + GST_ELEMENT_ERROR (faad, CORE, NEGOTIATION, NULL, NULL); gst_buffer_unref (buf); return; } |