Need to REMOVE an interface from a superclass.

Olivier Crête olivier.crete at collabora.com
Tue Feb 16 15:18:36 UTC 2021


Hi,

I don't know of any GStreamer specific example, but it's the same as
GTK.. so here is a GtkTreeModel ...

https://gist.github.com/andialbrecht/4463278

You should also be able to call GObject.set_property(bin,...) to force
calling the right class

Olivier

On Tue, 2021-02-16 at 10:03 -0500, Stirling Westrup wrote:
> On Fri, Feb 12, 2021 at 4:45 PM Olivier Crête
> <olivier.crete at collabora.com> wrote:
> > 
> > Hi,
> > 
> > This is a problem related to the  translation between the C and Python bindings. It's a separate interface in C. So you can either force Python to access g_object_set instead of gst_child_proxy_set ..
> > 
> > Or maybe you can re-implement GstChildProxy in the subclass in a version that does nothing.
> 
> Thanks, but I'm rather new to Python and haven't the slightest idea
> how to do either of these things. There isn't a single Python example
> I can find online where a GStreamer interface is defined, or even just
> used, in a Python element.
> 
> 

-- 
Olivier Crête
olivier.crete at collabora.com



More information about the gstreamer-devel mailing list