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

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


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

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |slomo at circular-chaos.org
         Resolution|                            |NOTABUG

--- Comment #1 from Sebastian Dröge (slomo) <slomo at circular-chaos.org> 2013-10-11 14:48:07 UTC ---
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.


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.

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