diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-05-26 16:20:35 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-05-26 16:29:46 +0300 |
commit | 751f7fc5f8f57c5077716964c07efb45fc94d220 (patch) | |
tree | 91b1221498aeb8c2606f893261493ecb942a5a61 /sys/v4l2/gstv4l2src.h | |
parent | 501f4fe13e8929bb2dfc9663f8d5f787d4b61f9e (diff) |
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.
Diffstat (limited to 'sys/v4l2/gstv4l2src.h')
-rw-r--r-- | sys/v4l2/gstv4l2src.h | 9 |
1 files changed, 5 insertions, 4 deletions
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; |