subclass gstbin to overwrite handle_message

Eloi Bail eloi.bail at
Thu Nov 30 09:16:18 UTC 2017

> First looks like you are not instanciate a `my_bin` but a regular bin
> (`my_bin = gst_bin_new ("my_bin");`).
> Then you will need to set `MyBinClass->handle_message` in the class
> init function.
Hi Thibault,

Yes you are right. I then called directly the factory:

> my_bin = gst_element_factory_make ("my_bin", "testbin");

But it is failing no element :my_bin.
What am I missing here ? Shall I create a factory for "my_bin" ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list