[Bug 657640] 0.11 gstreamer Introspection review

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Nov 9 14:59:36 PST 2011


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

--- Comment #12 from Johan (not receiving bugmail) Dahlin <johan at gnome.org> 2011-11-09 22:59:29 UTC ---
(In reply to comment #11)
> (In reply to comment #0)
> > [miniobject stuff]
> > 
> > These one would require a GType for GstMiniObject so these functions can be
> > called.
> > However, since GstMiniObject is a GBoxed now, they'll appear as functions
> > instead of
> > parent methods, eg:
> > 
> >   gst.mini_object_copy(buffer), instead of buffer.copy()
> 
>   If we register a GType for GstMiniObject ... you wouldn't be able to use
> those methods on a GstBuffer, right ? Because there's no suclassing for GBoxed
> and type(GstBuffer) != type (GstMiniObject).
>   Or am I missing something ?

You're right. Another solutions for this is needed. Perhaps just reimpl.
_copy() for all types.

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