[Bug 678301] Assorted introspection fixes and API clean up for bindings

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 19 16:21:12 PDT 2012


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

--- Comment #9 from Evan Nemerson <evan at coeus-group.com> 2012-06-19 23:21:05 UTC ---
(In reply to comment #7)
> (In reply to comment #3)
> > Created an attachment (id=216656)
 View: https://bugzilla.gnome.org/attachment.cgi?id=216656
 Review: https://bugzilla.gnome.org/review?bug=678301&attachment=216656

[details] [review]
> > mini object: register as boxed type
> 
> I don't think this makes sense.
> 
> A miniobject type cannot exist, you always need to make a 'subclass'. However
> the subclass will not be also a GstMiniObject, it's just a boxed type. Glib
> doesn't know about the parent miniobject type.
> 
> This mean that if you make a GstMiniObject GValue, you would not be able to
> assign it a GstBuffer.
> 
> As a result, you will never be able to use the GstMiniObject GType because
> there exist no instances of the type.

The problem from g-i's point of view is that, unless it is registered as a
boxed type, functions which return a GstMiniObject* will be skipped.  So you
don't have access to make_writable, copy, ref, or unref.

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