docs/plugins/: Add v4l2 plugin to the docs.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 26 Sep 2006 14:17:54 +0000 (14:17 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 26 Sep 2006 14:17:54 +0000 (14:17 +0000)
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.

ChangeLog
docs/plugins/Makefile.am
docs/plugins/gst-plugins-bad-plugins-docs.sgml
docs/plugins/gst-plugins-bad-plugins-sections.txt
sys/v4l2/gstv4l2src.c
sys/v4l2/gstv4l2src.h
sys/v4l2/gstv4l2vidorient.c

index 5bdf8af..8cc8fa0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,19 @@
 2006-09-26  Wim Taymans  <wim@fluendo.com>
 
+       * 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.
+
+2006-09-26  Wim Taymans  <wim@fluendo.com>
+
        * sys/v4l2/Makefile.am:
        Fix makefile, list libs in stack order.
 
index e612033..e7239d5 100644 (file)
@@ -91,7 +91,8 @@ EXTRA_HFILES = \
        $(top_srcdir)/ext/wavpack/gstwavpackdec.h \
        $(top_srcdir)/ext/wavpack/gstwavpackenc.h \
        $(top_srcdir)/ext/wavpack/gstwavpackparse.h \
-       $(top_srcdir)/gst/videocrop/gstvideocrop.h
+       $(top_srcdir)/gst/videocrop/gstvideocrop.h \
+       $(top_srcdir)/sys/v4l2/gstv4l2src.h
 
 # Images to copy into HTML directory.
 HTML_IMAGES =
index 70ceb92..f382b66 100644 (file)
@@ -19,6 +19,7 @@
     <xi:include href="xml/element-wavpackdec.xml" />
     <xi:include href="xml/element-wavpackenc.xml" />
     <xi:include href="xml/element-wavpackparse.xml" />
+    <xi:include href="xml/element-v4l2src.xml" />
   </chapter>
 
   <chapter>
index 8b0fad1..f2b9654 100644 (file)
@@ -15,6 +15,25 @@ GstTRMClass
 </SECTION>
 
 <SECTION>
+<FILE>element-v4l2src</FILE>
+GstV4l2Src
+<TITLE>v4l2src</TITLE>
+<SUBSECTION Standard>
+GST_V4L2_MAX_BUFFERS
+GST_V4L2_MIN_BUFFERS
+GstV4l2BufferPool
+GstV4l2Buffer
+GstV4l2Src
+GstV4l2SrcClass
+GST_V4L2SRC
+GST_IS_V4L2SRC
+GST_TYPE_V4L2SRC
+gst_v4l2src_get_type
+GST_V4L2SRC_CLASS
+GST_IS_V4L2SRC_CLASS
+</SECTION>
+
+<SECTION>
 <FILE>element-videocrop</FILE>
 GstVideoCrop
 <TITLE>videocrop</TITLE>
index dc1893a..6281b18 100644 (file)
@@ -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.
index 21b290d..e862264 100644 (file)
@@ -68,10 +68,17 @@ struct _GstV4l2Buffer
   GstV4l2BufferPool *pool;
 };
 
+/**
+ * GstV4l2Src:
+ * @pushsrc: parent #GstPushSrc.
+ *
+ * Opaque object.
+ */
 struct _GstV4l2Src
 {
   GstPushSrc pushsrc;
 
+  /*< private >*/
   GstV4l2Object * v4l2object;
 
   /* pads */
index 8f9c91a..07ac412 100644 (file)
@@ -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);