subclass gstbin to overwrite handle_message
tsaunier at gnome.org
Thu Nov 30 13:28:27 UTC 2017
You should either register the bin or just create as any other GObject.
On Thu, Nov 30, 2017 at 6:16 AM, Eloi Bail <eloi.bail at gmail.com> wrote:
>> 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" ?
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel