[Bug 773570] gstplayer: add media info get track num API

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 20 10:58:57 UTC 2016


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

--- Comment #6 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Lyon from comment #3)
> Hi, slomo,
> If we replace current Glist with GQueue, we may have to change the
> media-info API, it returns Glist* in some API .

GQueue contains a GList that could be used here probably :)

> besides, although GQueue
> keeps track of the length itself, it still need g_queue_get_length() to get
> the length.

g_queue_get_length() is O(1), g_list_length() is O(n).

-- 
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