[Bug 796483] queue2: use GstQueueArray and static allocation instead of GQueue

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 4 10:12:03 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796483

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |perf
             Status|NEW                         |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.15.1
            Summary|Queue2: Changed queue to    |queue2: use GstQueueArray
                   |use gstqueuearray and       |and static allocation
                   |static allocation           |instead of GQueue

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Thanks!

Pushed with two minor style changes (new lines after variable declaration) and
an equally arbitrary but lower default size of 32 instead of MAX_BUFFERS*3

commit ac7f8b633720d1ec4c4c7fdfddf04a90d8db8841 (HEAD -> master)
Author: Dimitrios Katsaros <patcherwork at gmail.com>
Date:   Sat Jun 2 14:02:19 2018 +0200

    queue2: use GstQueueArray

    When using queue2 as a queue it was using GQueue with
    individually allocated queue items, so two allocs for
    each item. With GstQueueArray we can avoid those.

    https://bugzilla.gnome.org/show_bug.cgi?id=796483

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list