summaryrefslogtreecommitdiffstats
path: root/ext/divx/gstdivxenc.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/gstdivxenc.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/gstdivxenc.c')
-rw-r--r--ext/divx/gstdivxenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c
index 1eaaebe1..a0b4e89a 100644
--- a/ext/divx/gstdivxenc.c
+++ b/ext/divx/gstdivxenc.c
@@ -295,7 +295,7 @@ gst_divxenc_setup (GstDivxEnc *divxenc)
output.temporal_level = 1.0;
if ((ret = encore(&handle, ENC_OPT_INIT, &input, &output))) {
- gst_element_error (divxenc, LIBRARY, SETTINGS, NULL,
+ GST_ELEMENT_ERROR (divxenc, LIBRARY, SETTINGS, NULL,
("Error setting up divx encoder: %s (%d)",
gst_divxenc_error(ret), ret));
return FALSE;
@@ -357,7 +357,7 @@ gst_divxenc_chain (GstPad *pad,
if ((ret = encore(divxenc->handle, ENC_OPT_ENCODE,
&xframe, &xres))) {
- gst_element_error (divxenc, LIBRARY, ENCODE, NULL,
+ GST_ELEMENT_ERROR (divxenc, LIBRARY, ENCODE, NULL,
("Error encoding divx frame: %s (%d)",
gst_divxenc_error(ret), ret));
gst_buffer_unref(buf);