GNOME Bugzilla – Bug 94461
ref()/unref() inconsistency in GstElementFactory
Last modified: 2004-12-22 21:47:04 UTC
In the current GstElementFactory class of Gstreamer, gst_element_factory_add_pad_template() refs the GstPadTemplate but it will never get unrefed again. This makes wrapping the class quite hard, thus needs to be fixed ASAP.
The elementfacory is currently never unreffed (we don't unload registries). Old Padtemplates are unreffed in the _add_template method when a new template with the name name is added. Can you clarify why this can be a problem?