From 7fa1c523010e5d29ed1c187baeeb209dde4c9fda Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 2 Feb 2004 17:23:33 +0000 Subject: 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 "." --- ext/mpeg2enc/gstmpeg2enc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/mpeg2enc/gstmpeg2enc.cc') diff --git a/ext/mpeg2enc/gstmpeg2enc.cc b/ext/mpeg2enc/gstmpeg2enc.cc index 5bf0ba15..7ee28bd9 100644 --- a/ext/mpeg2enc/gstmpeg2enc.cc +++ b/ext/mpeg2enc/gstmpeg2enc.cc @@ -239,7 +239,7 @@ gst_mpeg2enc_loop (GstElement *element) gst_pad_set_element_private (enc->sinkpad, data); if (!(caps = GST_PAD_CAPS (enc->sinkpad))) { - GST_ELEMENT_ERROR (element, CORE, NEGOTIATION, (""), + GST_ELEMENT_ERROR (element, CORE, NEGOTIATION, (NULL), ("format wasn't negotiated before loop function")); return; } @@ -251,7 +251,7 @@ gst_mpeg2enc_loop (GstElement *element) /* and set caps on other side */ othercaps = enc->encoder->getFormat (); if (gst_pad_set_explicit_caps (enc->srcpad, othercaps) <= 0) { - GST_ELEMENT_ERROR (element, CORE, NEGOTIATION, (""), ("")); + GST_ELEMENT_ERROR (element, CORE, NEGOTIATION, (NULL), (NULL)); delete enc->encoder; enc->encoder = NULL; return; -- cgit v1.2.1