From 63b0da36b576924e12806828cc5c08e9a2b9d5b1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 16 Oct 2008 13:56:52 +0000 Subject: [PATCH] libs/gst/base/gstbasesrc.c: Update some docs. Original commit message from CVS: * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init): Update some docs. --- ChangeLog | 5 +++++ libs/gst/base/gstbasesrc.c | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e24455..4374ccd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-10-16 Wim Taymans + + * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init): + Update some docs. + 2008-10-14 Tim-Philipp Müller * gst/gstquark.c: (_priv_gst_quarks_initialize): diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c index 2ff6ae9..92e01e7 100644 --- a/libs/gst/base/gstbasesrc.c +++ b/libs/gst/base/gstbasesrc.c @@ -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 */ -- 2.7.4