how does a (custom) elements specific data get initialised ?
tomschuring at gmail.com
Tue Mar 1 10:32:35 UTC 2022
there is a structure that contains information of a particular instance of
which later on in the tutorial gets used in for example:
gst_my_filter_sink_event (GstPad *pad,
GstMyFilter *filter = GST_MY_FILTER (parent);
but where does the structure 'GstMyFilter' get initialised ?
I'm asking because i've added a default constructor in my structure, but it
never gets called, but somehow the structure is initialised with 0's
how can I ensure that the data structure's constructor is used ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel