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 "." --- gst/flx/gstflxdec.c | 2 +- gst/smpte/gstsmpte.c | 2 +- gst/speed/gstspeed.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gst') diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index a88b1a74..aaddee58 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -463,7 +463,7 @@ gst_flxdec_loop (GstElement *element) if (flxh->type != FLX_MAGICHDR_FLI && flxh->type != FLX_MAGICHDR_FLC && flxh->type != FLX_MAGICHDR_FLX) { - GST_ELEMENT_ERROR (element, STREAM, WRONG_TYPE, NULL, ("not a flx file (type %d)\n", flxh->type)); + GST_ELEMENT_ERROR (element, STREAM, WRONG_TYPE, (NULL), ("not a flx file (type %d)\n", flxh->type)); return; } diff --git a/gst/smpte/gstsmpte.c b/gst/smpte/gstsmpte.c index 9aef470c..5899a9a1 100644 --- a/gst/smpte/gstsmpte.c +++ b/gst/smpte/gstsmpte.c @@ -371,7 +371,7 @@ gst_smpte_loop (GstElement *element) "framerate", G_TYPE_DOUBLE, smpte->fps, NULL); if (!gst_pad_try_set_caps (smpte->srcpad, caps)) { - GST_ELEMENT_ERROR (smpte, CORE, NEGOTIATION, NULL, NULL); + GST_ELEMENT_ERROR (smpte, CORE, NEGOTIATION, (NULL), (NULL)); return; } } diff --git a/gst/speed/gstspeed.c b/gst/speed/gstspeed.c index 366c2bec..89b4edfb 100644 --- a/gst/speed/gstspeed.c +++ b/gst/speed/gstspeed.c @@ -245,7 +245,7 @@ speed_loop (GstElement *element) #include "filter.func" #undef _FORMAT } else { - GST_ELEMENT_ERROR (filter, CORE, NEGOTIATION, NULL, + GST_ELEMENT_ERROR (filter, CORE, NEGOTIATION, (NULL), ("format wasn't negotiated before chain function")); gst_element_yield (element); } -- cgit v1.2.1