[gst-devel] Re: [gst-cvs] jdahlin gstreamer: gstreamer/ gstreamer/gst/

Brett Kosinski brettk at frodo.dyn.gno.org
Mon Mar 1 14:03:02 CET 2004


> > > Which ones?  Let's fix them.
> >
> > Python bindings mainly. I'm sure other bindings that makes heavy use of
> > GBoxed will be in the same situation.
> > The function is actually called GBoxedCopyFunc, so why not provide a
> > function that actually copies the object?
>
> Because the "handoff" signal on fakesrc won't work, for example.
> The copy function for GObject is g_object_ref().

Yeah, my take is that the copy func may, in fact, simply increment a
reference counter (and the free func conversely decrements the counter).
Frankly, I can't see why the bindings would care one way or another, as
long as the copy and free funcs behave in a sane manner.  At least,
I haven't run into any problems with this whilst working on the
Perl bindings.  *shrug*

Brett.




More information about the gstreamer-devel mailing list