[Fwd: Re: [gst-devel] Gstreamer design questions]
David Schleef
ds at schleef.org
Fri Mar 26 10:49:07 CET 2004
On Wed, Mar 24, 2004 at 05:36:07PM +0200, Andy Wingo wrote:
> On Fri, 2004-03-19 at 23:07, David Schleef wrote:
> > > In the current system, GstData isn't very
> > > extensible (you can't create "subclasses" of GstData outside the gst
> > > source tree).
> >
> > It is possible, and actually quite easy to subclass GstData. See
> > gst-plugins/gst/debug/efence.c.
>
> Ah, I see. I tried to do this by copying what gstbuffer does, which is
> to use the private interface to gstdata. Because you have to chain up to
> gstdata, perhaps we need to implement our own minimal object model on
> top of GTypeClass (no signals, no properties, perhaps only shallow
> inheritance). It would take some tests to see how efficient this would
> be.
That is the plan.
dave...
More information about the gstreamer-devel
mailing list