From 92eb19b993e4e1bdd7fef71c1264e0092f4accac Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 29 Jan 2004 23:20:45 +0000 Subject: GST_ELEMENT_ERROR Original commit message from CVS: GST_ELEMENT_ERROR --- ext/ivorbis/vorbisfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/ivorbis') diff --git a/ext/ivorbis/vorbisfile.c b/ext/ivorbis/vorbisfile.c index 4f708aa0..182cdbb0 100644 --- a/ext/ivorbis/vorbisfile.c +++ b/ext/ivorbis/vorbisfile.c @@ -569,7 +569,7 @@ gst_ivorbisfile_loop (GstElement *element) /* open our custom ivorbisfile data object with the callbacks we provide */ if (ov_open_callbacks (ivorbisfile, &ivorbisfile->vf, NULL, 0, ivorbisfile_ov_callbacks) < 0) { - gst_element_error (element, STREAM, DECODE, NULL, NULL); + GST_ELEMENT_ERROR (element, STREAM, DECODE, NULL, NULL); return; } ivorbisfile->need_discont = TRUE; @@ -633,7 +633,7 @@ gst_ivorbisfile_loop (GstElement *element) /* we update the caps for each logical stream */ if (ivorbisfile->vf.current_link != ivorbisfile->current_link) { if (!gst_ivorbisfile_new_link (ivorbisfile, ivorbisfile->vf.current_link)) { - gst_element_error (ivorbisfile, CORE, NEGOTIATION, NULL, NULL); + GST_ELEMENT_ERROR (ivorbisfile, CORE, NEGOTIATION, NULL, NULL); } return; } -- cgit v1.2.1