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/tarkin/gsttarkindec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/tarkin/gsttarkindec.c') diff --git a/ext/tarkin/gsttarkindec.c b/ext/tarkin/gsttarkindec.c index a2c27e9f..0121b840 100644 --- a/ext/tarkin/gsttarkindec.c +++ b/ext/tarkin/gsttarkindec.c @@ -209,7 +209,7 @@ gst_tarkindec_chain (GstPad *pad, GstData *_data) tarkindec = GST_TARKINDEC (gst_pad_get_parent (pad)); if (!tarkindec->setup) { - gst_element_error (tarkindec, CORE, NEGOTATION, NULL, ("decoder not initialized (input is not tarkin?)")); + GST_ELEMENT_ERROR (tarkindec, CORE, NEGOTATION, NULL, ("decoder not initialized (input is not tarkin?)")); if (GST_IS_BUFFER (buf)) gst_buffer_unref (buf); else @@ -278,7 +278,7 @@ gst_tarkindec_chain (GstPad *pad, GstData *_data) "framerate", GST_PROPS_FLOAT (0.) /* FIXME!!! */ )) <= 0) { - gst_element_error (tarkindec, CORE, NEGOTATION, NULL, ("could not output format")); + GST_ELEMENT_ERROR (tarkindec, CORE, NEGOTATION, NULL, ("could not output format")); gst_buffer_unref (buf); return; } -- cgit v1.2.1