[Bug 664720] API: add gst_buffer_{set,get}_qdata()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Nov 25 15:20:02 PST 2011


https://bugzilla.gnome.org/show_bug.cgi?id=664720
  GStreamer | gstreamer (core) | git

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-11-25 23:19:58 UTC ---
> Whouldn't it be easier to use a hashmap with the quark as the key? instead of a
> slist?

Didn't really seem worth it given that the normal case is no qdata at all and
the next most-likely case is one or at most two pieces of qdata.. But it's an
implementation detail anyway, it can be changed later if desired. I don't think
it would make a huge difference in terms of lines of code either. (PS: it's a
double-linked list, not an slist ;-))

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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