queue2: set max value for to the matching one for the datatype

The property is guint64, so use G_MAXUINT64 instead of G_MAXUINT.
This commit is contained in:
Stefan Kost 2011-03-24 18:25:08 +02:00
parent 02eda0e3d9
commit 1177a968cc

View file

@ -369,7 +369,7 @@ gst_queue2_class_init (GstQueue2Class * klass)
g_param_spec_uint64 ("ring-buffer-max-size",
"Max. ring buffer size (bytes)",
"Max. amount of data in the ring buffer (bytes, 0 = disabled",
0, G_MAXUINT, DEFAULT_RING_BUFFER_MAX_SIZE,
0, G_MAXUINT64, DEFAULT_RING_BUFFER_MAX_SIZE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/* set several parent class virtual functions */