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 "." --- sys/v4l2/v4l2_calls.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/v4l2/v4l2_calls.h') diff --git a/sys/v4l2/v4l2_calls.h b/sys/v4l2/v4l2_calls.h index fecfa93f..428c57aa 100644 --- a/sys/v4l2/v4l2_calls.h +++ b/sys/v4l2/v4l2_calls.h @@ -40,7 +40,7 @@ if (!GST_V4L2_IS_OPEN(element)) \ { \ GST_ELEMENT_ERROR (element, RESOURCE, TOO_LAZY, \ - (_("Device is not open")), NULL); \ + (_("Device is not open.")), (NULL)); \ return FALSE; \ } @@ -49,7 +49,7 @@ if (GST_V4L2_IS_OPEN(element)) \ { \ GST_ELEMENT_ERROR (element, RESOURCE, TOO_LAZY, \ - (_("Device is open")), NULL); \ + (_("Device is open.")), (NULL)); \ return FALSE; \ } @@ -58,7 +58,7 @@ if (!GST_V4L2_IS_OVERLAY(element)) \ { \ GST_ELEMENT_ERROR (element, RESOURCE, TOO_LAZY, \ - NULL, ("Device cannot handle overlay")); \ + (NULL), ("Device cannot handle overlay")); \ return FALSE; \ } @@ -67,7 +67,7 @@ if (!GST_V4L2_IS_ACTIVE(element)) \ { \ GST_ELEMENT_ERROR (element, RESOURCE, SETTINGS, \ - NULL, ("Device is not in streaming mode")); \ + (NULL), ("Device is not in streaming mode")); \ return FALSE; \ } @@ -76,7 +76,7 @@ if (GST_V4L2_IS_ACTIVE(element)) \ { \ GST_ELEMENT_ERROR (element, RESOURCE, SETTINGS, \ - NULL, ("Device is in streaming mode")); \ + (NULL), ("Device is in streaming mode")); \ return FALSE; \ } -- cgit v1.2.1