diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-02-02 17:23:33 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-02-02 17:23:33 +0000 |
commit | 7fa1c523010e5d29ed1c187baeeb209dde4c9fda (patch) | |
tree | db3128f614eff47d9f1a5c9d569ddc3aa829f30c /ext/divx | |
parent | 921fe7a35f7829850e4609b9ece9d4ed72fae813 (diff) | |
download | gst-plugins-bad-7fa1c523010e5d29ed1c187baeeb209dde4c9fda.tar.gz gst-plugins-bad-7fa1c523010e5d29ed1c187baeeb209dde4c9fda.tar.bz2 gst-plugins-bad-7fa1c523010e5d29ed1c187baeeb209dde4c9fda.zip |
change NULL to (NULL) for GST_ELEMENT_ERROR
Original commit message from CVS:
change NULL to (NULL) for GST_ELEMENT_ERROR
Make sure errors end with "."
Diffstat (limited to 'ext/divx')
-rw-r--r-- | ext/divx/gstdivxdec.c | 8 | ||||
-rw-r--r-- | ext/divx/gstdivxenc.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c index 15aecaa1..568e372e 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); diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c index a0b4e89a..bb77ace5 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); |