summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-09-26 14:17:54 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-09-26 14:17:54 +0000
commit2b1e939991c034fb4203df40f6ea0941b2e6453d (patch)
tree5b5d703b5a358258d95f66a758c44a5a2ff4b635 /sys
parent65c2296d10a5a9b4566d1d506702a8c8ac8b79bb (diff)
downloadgst-plugins-bad-2b1e939991c034fb4203df40f6ea0941b2e6453d.tar.gz
gst-plugins-bad-2b1e939991c034fb4203df40f6ea0941b2e6453d.tar.bz2
gst-plugins-bad-2b1e939991c034fb4203df40f6ea0941b2e6453d.zip
docs/plugins/: Add v4l2 plugin to the docs.
Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: Add v4l2 plugin to the docs. * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read), (gst_v4l2src_get_mmap), (gst_v4l2src_create): * sys/v4l2/gstv4l2src.h: * sys/v4l2/gstv4l2vidorient.c: Fix docs. Remove some more externs.
Diffstat (limited to 'sys')
-rw-r--r--sys/v4l2/gstv4l2src.c2
-rw-r--r--sys/v4l2/gstv4l2src.h7
-rw-r--r--sys/v4l2/gstv4l2vidorient.c14
3 files changed, 15 insertions, 8 deletions
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c
index dc1893a3..6281b188 100644
--- a/sys/v4l2/gstv4l2src.c
+++ b/sys/v4l2/gstv4l2src.c
@@ -22,7 +22,7 @@
*/
/**
- * SECTION:element-v4l2srcsrc
+ * SECTION:element-v4l2src
*
* <refsect2>
* v4l2src can be used to capture video from v4l2 devices, like webcams and tv cards.
diff --git a/sys/v4l2/gstv4l2src.h b/sys/v4l2/gstv4l2src.h
index 21b290de..e8622646 100644
--- a/sys/v4l2/gstv4l2src.h
+++ b/sys/v4l2/gstv4l2src.h
@@ -68,10 +68,17 @@ struct _GstV4l2Buffer
GstV4l2BufferPool *pool;
};
+/**
+ * GstV4l2Src:
+ * @pushsrc: parent #GstPushSrc.
+ *
+ * Opaque object.
+ */
struct _GstV4l2Src
{
GstPushSrc pushsrc;
+ /*< private >*/
GstV4l2Object * v4l2object;
/* pads */
diff --git a/sys/v4l2/gstv4l2vidorient.c b/sys/v4l2/gstv4l2vidorient.c
index 8f9c91af..07ac412b 100644
--- a/sys/v4l2/gstv4l2vidorient.c
+++ b/sys/v4l2/gstv4l2vidorient.c
@@ -50,46 +50,46 @@ gst_v4l2_video_orientation_get_hflip (GstV4l2Object * v4l2object,
return gst_v4l2_get_attribute (v4l2object, V4L2_CID_HFLIP, flip);
}
-extern gboolean
+gboolean
gst_v4l2_video_orientation_get_vflip (GstV4l2Object * v4l2object,
gboolean * flip)
{
return gst_v4l2_get_attribute (v4l2object, V4L2_CID_VFLIP, flip);
}
-extern gboolean
+gboolean
gst_v4l2_video_orientation_get_hcenter (GstV4l2Object * v4l2object,
gint * center)
{
return gst_v4l2_get_attribute (v4l2object, V4L2_CID_HCENTER, center);
}
-extern gboolean
+gboolean
gst_v4l2_video_orientation_get_vcenter (GstV4l2Object * v4l2object,
gint * center)
{
return gst_v4l2_get_attribute (v4l2object, V4L2_CID_VCENTER, center);
}
-extern gboolean
+gboolean
gst_v4l2_video_orientation_set_hflip (GstV4l2Object * v4l2object, gboolean flip)
{
return gst_v4l2_set_attribute (v4l2object, V4L2_CID_HFLIP, flip);
}
-extern gboolean
+gboolean
gst_v4l2_video_orientation_set_vflip (GstV4l2Object * v4l2object, gboolean flip)
{
return gst_v4l2_set_attribute (v4l2object, V4L2_CID_VFLIP, flip);
}
-extern gboolean
+gboolean
gst_v4l2_video_orientation_set_hcenter (GstV4l2Object * v4l2object, gint center)
{
return gst_v4l2_set_attribute (v4l2object, V4L2_CID_HCENTER, center);
}
-extern gboolean
+gboolean
gst_v4l2_video_orientation_set_vcenter (GstV4l2Object * v4l2object, gint center)
{
return gst_v4l2_set_attribute (v4l2object, V4L2_CID_VCENTER, center);