[Bug 709903] GstIterator should maybe be based in LibGee.Iterator

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 11 16:57:48 CEST 2013


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

Andrés G. Aragoneses (IRC: knocte) <knocte> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssundermann at gnome.org

--- Comment #2 from Andrés G. Aragoneses (IRC: knocte) <knocte at gmail.com> 2013-10-11 14:57:42 UTC ---
(In reply to comment #1)
> No it should not be based on the Gee.Iterator, that one is not threadsafe among
> other things.
> 
> The problem here is that gobject-introspection has parameterized types for a
> fixed number of hard coded types (e.g. GList). This should be somehow
> extendable to handle other cases, gpointer based and GValue based.


So then bug 709901 is a valid bug?


> Anyway, this shouldn't be a problem for you as GstIterator works with GValues,
> and GValues contain the information about the type of the value. You can just
> get that at runtime and do a dynamic cast to the corresponding type.

Well, the main goal behind this is to obtain those types at compile-time :(

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