From 655451db5462bc19f0a8289dc271f1ad2644af6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 2 Jan 2011 16:58:39 +0000 Subject: [PATCH] basesrc, basesink: add some FIXMEs for the type of the blocksize property --- libs/gst/base/gstbasesink.c | 3 +++ libs/gst/base/gstbasesrc.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c index d04c67bc55..cffd33b9cd 100644 --- a/libs/gst/base/gstbasesink.c +++ b/libs/gst/base/gstbasesink.c @@ -506,6 +506,7 @@ gst_base_sink_class_init (GstBaseSinkClass * klass) * * Since: 0.10.22 */ + /* FIXME 0.11: blocksize property should be int, otherwise min>max.. */ g_object_class_install_property (gobject_class, PROP_BLOCKSIZE, g_param_spec_uint ("blocksize", "Block size", "Size in bytes to pull per buffer (0 = default)", 0, G_MAXUINT, @@ -1244,6 +1245,7 @@ gst_base_sink_get_render_delay (GstBaseSink * sink) * * Since: 0.10.22 */ +/* FIXME 0.11: blocksize property should be int, otherwise min>max.. */ void gst_base_sink_set_blocksize (GstBaseSink * sink, guint blocksize) { @@ -1266,6 +1268,7 @@ gst_base_sink_set_blocksize (GstBaseSink * sink, guint blocksize) * * Since: 0.10.22 */ +/* FIXME 0.11: blocksize property should be int, otherwise min>max.. */ guint gst_base_sink_get_blocksize (GstBaseSink * sink) { diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c index bad49784ac..92391882fc 100644 --- a/libs/gst/base/gstbasesrc.c +++ b/libs/gst/base/gstbasesrc.c @@ -346,6 +346,7 @@ gst_base_src_class_init (GstBaseSrcClass * klass) gobject_class->set_property = gst_base_src_set_property; gobject_class->get_property = gst_base_src_get_property; +/* FIXME 0.11: blocksize property should be int, not ulong (min is >max here) */ g_object_class_install_property (gobject_class, PROP_BLOCKSIZE, g_param_spec_ulong ("blocksize", "Block size", "Size in bytes to read per buffer (-1 = default)", 0, G_MAXULONG, @@ -641,6 +642,7 @@ gst_base_src_query_latency (GstBaseSrc * src, gboolean * live, * * Since: 0.10.22 */ +/* FIXME 0.11: blocksize property should be int, not ulong */ void gst_base_src_set_blocksize (GstBaseSrc * src, gulong blocksize) { @@ -661,6 +663,7 @@ gst_base_src_set_blocksize (GstBaseSrc * src, gulong blocksize) * * Since: 0.10.22 */ +/* FIXME 0.11: blocksize property should be int, not ulong */ gulong gst_base_src_get_blocksize (GstBaseSrc * src) {