summaryrefslogtreecommitdiffstats
path: root/sys/v4l2/gstv4l2object.h
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-01-17 14:30:50 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-01-17 14:30:50 +0000
commitfdd167aeb1c6b502ea64bff91416f79e97d8d1d7 (patch)
treec1ce3d341200b120261dd920dc5dc9aeca9893f5 /sys/v4l2/gstv4l2object.h
parent703a0d00d8b3548cc8dcdea1b645133d035a9734 (diff)
sys/v4l2/: Fix EIO handing when capturing. Add new property to specify the number of buffers to enque (and remove the...
Original commit message from CVS: * sys/v4l2/gstv4l2object.c: (gst_v4l2_object_install_properties_helper), (gst_v4l2_object_set_property_helper), (gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults): * sys/v4l2/gstv4l2object.h: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init), (gst_v4l2src_init), (gst_v4l2src_set_property), (gst_v4l2src_get_property), (gst_v4l2src_set_caps): * sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list), (gst_v4l2src_grab_frame), (gst_v4l2src_set_capture), (gst_v4l2src_capture_init), (gst_v4l2src_capture_start), (gst_v4l2src_capture_deinit): Fix EIO handing when capturing. Add new property to specify the number of buffers to enque (and remove the borked num-buffers usage).
Diffstat (limited to 'sys/v4l2/gstv4l2object.h')
-rw-r--r--sys/v4l2/gstv4l2object.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/sys/v4l2/gstv4l2object.h b/sys/v4l2/gstv4l2object.h
index 34470739..906cff99 100644
--- a/sys/v4l2/gstv4l2object.h
+++ b/sys/v4l2/gstv4l2object.h
@@ -105,16 +105,12 @@ struct _GstV4l2ObjectClassHelper {
GList *devices;
};
-GType gst_v4l2_object_get_type(void);
-
-#define V4L2_STD_OBJECT_PROPS \
- PROP_DEVICE, \
- PROP_DEVICE_NAME, \
- PROP_FLAGS, \
- PROP_NORM, \
- PROP_CHANNEL, \
- PROP_FREQUENCY
+GType gst_v4l2_object_get_type (void);
+#define V4L2_STD_OBJECT_PROPS \
+ PROP_DEVICE, \
+ PROP_DEVICE_NAME, \
+ PROP_FLAGS
/* create/destroy */
GstV4l2Object * gst_v4l2_object_new (GstElement * element,