From 751f7fc5f8f57c5077716964c07efb45fc94d220 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 26 May 2009 16:20:35 +0300 Subject: v4l2: cleanup and commenting Remove newlines inserted by gst-indent once. Remove unused var from instance struct. Add comments. Add another #define for default property value. --- sys/v4l2/gstv4l2src.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'sys/v4l2/gstv4l2src.h') diff --git a/sys/v4l2/gstv4l2src.h b/sys/v4l2/gstv4l2src.h index 7c54d944..bedae8a7 100644 --- a/sys/v4l2/gstv4l2src.h +++ b/sys/v4l2/gstv4l2src.h @@ -28,8 +28,11 @@ GST_DEBUG_CATEGORY_EXTERN (v4l2src_debug); +/* size of v4l2 buffer pool in streaming case */ #define GST_V4L2_MAX_BUFFERS 16 -#define GST_V4L2_MIN_BUFFERS 2 +#define GST_V4L2_MIN_BUFFERS 1 + +/* max frame width/height */ #define GST_V4L2_MAX_SIZE (1<<15) /* 2^15 == 32768 */ G_BEGIN_DECLS @@ -88,14 +91,12 @@ struct _GstV4l2Src GstV4l2Object * v4l2object; /* pads */ - GstPad *srcpad; - GstCaps *probed_caps; /* internal lists */ GSList *formats; /* list of available capture formats */ - /* buffers */ + /* buffer handling */ GstV4l2BufferPool *pool; guint32 num_buffers; -- cgit