summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/v4l2_calls.h
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 /sys/v4l2/v4l2_calls.h
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 'sys/v4l2/v4l2_calls.h')
-rw-r--r--sys/v4l2/v4l2_calls.h10
1 files changed, 5 insertions, 5 deletions
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; \
}