class_init and class_finalize methods

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

class_init and class_finalize methods

sharath
Hi,
i am developing a source plugin and have inherited pushsrc class
From my understanding of GObject class_init should be called only during the first object creation and base_init should be called on every object creation

when i run "gst-launch mysrcelement ! fakesink" the call sequence is
base_init
class_init
base_init
class_init
init

Issues:
1. why class_init is called more than once?
2. why class_finalize not getting called

Regards
Sharath