libs/gst/base/gstbasesrc.c: Update some docs.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 16 Oct 2008 13:56:52 +0000 (13:56 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 16 Oct 2008 13:56:52 +0000 (13:56 +0000)
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
Update some docs.

ChangeLog
libs/gst/base/gstbasesrc.c

index 4e24455..4374ccd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-16  Wim Taymans  <wim.taymans@collabora.co.uk>
+
+       * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
+       Update some docs.
+
 2008-10-14  Tim-Philipp Müller  <tim.muller at collabora co uk>
 
        * gst/gstquark.c: (_priv_gst_quarks_initialize):
index 2ff6ae9..92e01e7 100644 (file)
@@ -328,12 +328,13 @@ gst_base_src_class_init (GstBaseSrcClass * klass)
 
   g_object_class_install_property (gobject_class, PROP_BLOCKSIZE,
       g_param_spec_ulong ("blocksize", "Block size",
-          "Size in bytes to read per buffer (0 = default)", 0, G_MAXULONG,
+          "Size in bytes to read per buffer (-1 = default)", 0, G_MAXULONG,
           DEFAULT_BLOCKSIZE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (gobject_class, PROP_NUM_BUFFERS,
       g_param_spec_int ("num-buffers", "num-buffers",
-          "Number of buffers to output before sending EOS", -1, G_MAXINT,
-          DEFAULT_NUM_BUFFERS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
+          "Number of buffers to output before sending EOS (-1 = unlimited)",
+          -1, G_MAXINT, DEFAULT_NUM_BUFFERS, G_PARAM_READWRITE |
+          G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (gobject_class, PROP_TYPEFIND,
       g_param_spec_boolean ("typefind", "Typefind",
           "Run typefind before negotiating", DEFAULT_TYPEFIND,
@@ -597,7 +598,8 @@ gst_base_src_query_latency (GstBaseSrc * src, gboolean * live,
  * @src: the source
  * @blocksize: the new blocksize in bytes
  *
- * Set the number of bytes that @src will push out with each buffer.
+ * Set the number of bytes that @src will push out with each buffer. When
+ * @blocksize is set to -1, a default length will be used.
  *
  * Since: 0.10.22
  */