docs: Fix GstQueue2:ring-buffer-max-size property Since tag (0.10.31, not 0.10.30)
authorMart Raudsepp <mart.raudsepp@collabora.co.uk>
Mon, 24 Jan 2011 08:56:21 +0000 (10:56 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 24 Jan 2011 14:38:36 +0000 (14:38 +0000)
plugins/elements/gstqueue2.c

index 0c9dc4a..5d70f89 100644 (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;
       }