docs: Fix GstQueue2:ring-buffer-max-size property Since tag (0.10.31, not 0.10.30)

This commit is contained in:
Mart Raudsepp 2011-01-24 10:56:21 +02:00 committed by Tim-Philipp Müller
parent e7569342b1
commit b387daa6ff

View file

@ -363,7 +363,7 @@ gst_queue2_class_init (GstQueue2Class * klass)
* The maximum size of the ring buffer in bytes. If set to 0, the ring
* buffer is disabled. Default 0.
*
* Since: 0.10.30
* Since: 0.10.31
*/
g_object_class_install_property (gobject_class, PROP_RING_BUFFER_MAX_SIZE,
g_param_spec_uint64 ("ring-buffer-max-size",
@ -2786,7 +2786,7 @@ gst_queue2_src_activate_pull (GstPad * pad, gboolean active)
result = gst_queue2_open_temp_location_file (queue);
} else if (!queue->ring_buffer) {
queue->ring_buffer = g_malloc (queue->ring_buffer_max_size);
result = ! !queue->ring_buffer;
result = !!queue->ring_buffer;
} else {
result = TRUE;
}