summaryrefslogtreecommitdiffstats
path: root/ext/mpeg2enc
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-02-02 17:23:33 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-02-02 17:23:33 +0000
commit7fa1c523010e5d29ed1c187baeeb209dde4c9fda (patch)
treedb3128f614eff47d9f1a5c9d569ddc3aa829f30c /ext/mpeg2enc
parent921fe7a35f7829850e4609b9ece9d4ed72fae813 (diff)
downloadgst-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/mpeg2enc')
-rw-r--r--ext/mpeg2enc/gstmpeg2enc.cc4
1 files changed, 2 insertions, 2 deletions
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;