summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/v4l2_calls.h
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-01-29 23:20:45 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-01-29 23:20:45 +0000
commit92eb19b993e4e1bdd7fef71c1264e0092f4accac (patch)
tree7055360715831c903e6ae5ca7df13bcf3093be4c /sys/v4l2/v4l2_calls.h
parent7c858cbf0f10a48386f7098420fde939eda25eb5 (diff)
downloadgst-plugins-bad-92eb19b993e4e1bdd7fef71c1264e0092f4accac.tar.gz
gst-plugins-bad-92eb19b993e4e1bdd7fef71c1264e0092f4accac.tar.bz2
gst-plugins-bad-92eb19b993e4e1bdd7fef71c1264e0092f4accac.zip
GST_ELEMENT_ERROR
Original commit message from CVS: GST_ELEMENT_ERROR
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 c40100d9..fecfa93f 100644
--- a/sys/v4l2/v4l2_calls.h
+++ b/sys/v4l2/v4l2_calls.h
@@ -39,7 +39,7 @@
#define GST_V4L2_CHECK_OPEN(element) \
if (!GST_V4L2_IS_OPEN(element)) \
{ \
- gst_element_error (element, RESOURCE, TOO_LAZY, \
+ GST_ELEMENT_ERROR (element, RESOURCE, TOO_LAZY, \
(_("Device is not open")), NULL); \
return FALSE; \
}
@@ -48,7 +48,7 @@
#define GST_V4L2_CHECK_NOT_OPEN(element) \
if (GST_V4L2_IS_OPEN(element)) \
{ \
- gst_element_error (element, RESOURCE, TOO_LAZY, \
+ GST_ELEMENT_ERROR (element, RESOURCE, TOO_LAZY, \
(_("Device is open")), NULL); \
return FALSE; \
}
@@ -57,7 +57,7 @@
#define GST_V4L2_CHECK_OVERLAY(element) \
if (!GST_V4L2_IS_OVERLAY(element)) \
{ \
- gst_element_error (element, RESOURCE, TOO_LAZY, \
+ GST_ELEMENT_ERROR (element, RESOURCE, TOO_LAZY, \
NULL, ("Device cannot handle overlay")); \
return FALSE; \
}
@@ -66,7 +66,7 @@
#define GST_V4L2_CHECK_ACTIVE(element) \
if (!GST_V4L2_IS_ACTIVE(element)) \
{ \
- gst_element_error (element, RESOURCE, SETTINGS, \
+ GST_ELEMENT_ERROR (element, RESOURCE, SETTINGS, \
NULL, ("Device is not in streaming mode")); \
return FALSE; \
}
@@ -75,7 +75,7 @@
#define GST_V4L2_CHECK_NOT_ACTIVE(element) \
if (GST_V4L2_IS_ACTIVE(element)) \
{ \
- gst_element_error (element, RESOURCE, SETTINGS, \
+ GST_ELEMENT_ERROR (element, RESOURCE, SETTINGS, \
NULL, ("Device is in streaming mode")); \
return FALSE; \
}