summaryrefslogtreecommitdiffstats
path: root/ext/divx/gstdivxdec.c
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 /ext/divx/gstdivxdec.c
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 'ext/divx/gstdivxdec.c')
-rw-r--r--ext/divx/gstdivxdec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c
index 192c655e..15aecaa1 100644
--- a/ext/divx/gstdivxdec.c
+++ b/ext/divx/gstdivxdec.c
@@ -229,7 +229,7 @@ gst_divxdec_setup (GstDivxDec *divxdec)
break;
}
if ((ret = decore(&handle, DEC_OPT_INIT, &xinit, NULL)) != 0) {
- gst_element_error (divxdec, LIBRARY, INIT, NULL,
+ GST_ELEMENT_ERROR (divxdec, LIBRARY, INIT, NULL,
("divx library error: %s (%d)", gst_divxdec_error (ret), ret));
return FALSE;
}
@@ -247,7 +247,7 @@ gst_divxdec_setup (GstDivxDec *divxdec)
if ((ret = decore(divxdec->handle, DEC_OPT_SETOUT,
&output, NULL)) != 0) {
- gst_element_error (divxdec, LIBRARY, SETTINGS, NULL,
+ GST_ELEMENT_ERROR (divxdec, LIBRARY, SETTINGS, NULL,
("error setting output: %s (%d)",
gst_divxdec_error (ret), ret));
gst_divxdec_unset(divxdec);
@@ -285,7 +285,7 @@ gst_divxdec_chain (GstPad *pad,
if (!divxdec->handle) {
if (gst_divxdec_negotiate(divxdec) <= 0) {
- gst_element_error (divxdec, CORE, TOO_LAZY, NULL,
+ GST_ELEMENT_ERROR (divxdec, CORE, TOO_LAZY, NULL,
("No format set - aborting"));
gst_buffer_unref(buf);
return;
@@ -309,7 +309,7 @@ gst_divxdec_chain (GstPad *pad,
if ((ret = decore(divxdec->handle, DEC_OPT_FRAME,
&xframe, NULL))) {
- gst_element_error (divxdec, STREAM, DECODE, NULL,
+ GST_ELEMENT_ERROR (divxdec, STREAM, DECODE, NULL,
("Error decoding divx frame: %s (%d)",
gst_divxdec_error(ret), ret));
gst_buffer_unref(buf);