From 1454eff178722ecfd9109ebda76f2a3e59ee4411 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Tue, 20 Jan 2004 12:48:10 +0000 Subject: ext/divx/: Fix for new error system. Original commit message from CVS: 2004-01-20 Ronald Bultje * ext/divx/gstdivxdec.c: (gst_divxdec_setup), (gst_divxdec_chain): * ext/divx/gstdivxenc.c: (gst_divxenc_setup), (gst_divxenc_chain): Fix for new error system. --- ext/divx/gstdivxdec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext/divx/gstdivxdec.c') diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c index 06b3dc33..1f3e68fa 100644 --- a/ext/divx/gstdivxdec.c +++ b/ext/divx/gstdivxdec.c @@ -234,7 +234,8 @@ gst_divxdec_setup (GstDivxDec *divxdec) if ((ret = decore(divxdec->handle, DEC_OPT_SETOUT, &output, NULL)) != 0) { gst_element_error (divxdec, LIBRARY, SETTINGS, NULL, - ("error setting output: %s (%d)", gst_divxdec_error (ret)), ret); + ("error setting output: %s (%d)", + gst_divxdec_error (ret), ret)); gst_divxdec_unset(divxdec); return FALSE; } @@ -270,7 +271,7 @@ gst_divxdec_chain (GstPad *pad, if (!divxdec->handle) { if (gst_divxdec_negotiate(divxdec) <= 0) { - gst_element_error (divxdec, CORE, TOO_LAZY, + gst_element_error (divxdec, CORE, TOO_LAZY, NULL, ("No format set - aborting")); gst_buffer_unref(buf); return; -- cgit v1.2.1