subclass gstbin to overwrite handle_message

Eloi Bail eloi.bail at gmail.com
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" ?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171130/cbb06654/attachment.html>


More information about the gstreamer-devel mailing list