summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-01-29 23:20:45 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-01-29 23:20:45 +0000
commit92eb19b993e4e1bdd7fef71c1264e0092f4accac (patch)
tree7055360715831c903e6ae5ca7df13bcf3093be4c /gst
parent7c858cbf0f10a48386f7098420fde939eda25eb5 (diff)
downloadgst-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 'gst')
-rw-r--r--gst/flx/gstflxdec.c2
-rw-r--r--gst/modplug/gstmodplug.cc2
-rw-r--r--gst/smpte/gstsmpte.c2
-rw-r--r--gst/speed/gstspeed.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c
index c861a1f4..a88b1a74 100644
--- a/gst/flx/gstflxdec.c
+++ b/gst/flx/gstflxdec.c
@@ -463,7 +463,7 @@ gst_flxdec_loop (GstElement *element)
if (flxh->type != FLX_MAGICHDR_FLI &&
flxh->type != FLX_MAGICHDR_FLC &&
flxh->type != FLX_MAGICHDR_FLX) {
- gst_element_error (element, STREAM, WRONG_TYPE, NULL, ("not a flx file (type %d)\n", flxh->type));
+ GST_ELEMENT_ERROR (element, STREAM, WRONG_TYPE, NULL, ("not a flx file (type %d)\n", flxh->type));
return;
}
diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc
index 035557f4..12151afb 100644
--- a/gst/modplug/gstmodplug.cc
+++ b/gst/modplug/gstmodplug.cc
@@ -575,7 +575,7 @@ gst_modplug_loop (GstElement *element)
if (!GST_PAD_CAPS (modplug->srcpad) &&
modplug_negotiate (modplug) <= 0) {
- gst_element_error (modplug, CORE, NEGOTIATION, (NULL), (NULL));
+ GST_ELEMENT_ERROR (modplug, CORE, NEGOTIATION, (NULL), (NULL));
return;
}
diff --git a/gst/smpte/gstsmpte.c b/gst/smpte/gstsmpte.c
index 5cfbcc0b..9aef470c 100644
--- a/gst/smpte/gstsmpte.c
+++ b/gst/smpte/gstsmpte.c
@@ -371,7 +371,7 @@ gst_smpte_loop (GstElement *element)
"framerate", G_TYPE_DOUBLE, smpte->fps, NULL);
if (!gst_pad_try_set_caps (smpte->srcpad, caps)) {
- gst_element_error (smpte, CORE, NEGOTIATION, NULL, NULL);
+ GST_ELEMENT_ERROR (smpte, CORE, NEGOTIATION, NULL, NULL);
return;
}
}
diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c
index 6a058d48..366c2bec 100644
--- a/gst/speed/gstspeed.c
+++ b/gst/speed/gstspeed.c
@@ -245,7 +245,7 @@ speed_loop (GstElement *element)
#include "filter.func"
#undef _FORMAT
} else {
- gst_element_error (filter, CORE, NEGOTIATION, NULL,
+ GST_ELEMENT_ERROR (filter, CORE, NEGOTIATION, NULL,
("format wasn't negotiated before chain function"));
gst_element_yield (element);
}