From: Wim Taymans Date: Thu, 16 Oct 2008 13:56:52 +0000 (+0000) Subject: libs/gst/base/gstbasesrc.c: Update some docs. X-Git-Tag: GIT_CONVERSION~117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63b0da36b576924e12806828cc5c08e9a2b9d5b1;p=platform%2Fupstream%2Fgstreamer.git 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. --- 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 */