author | Stefan Kost <ensonic@users.sf.net> | |
Sun, 7 Jun 2009 19:09:14 +0000 (22:09 +0300) | ||
committer | Stefan Kost <ensonic@users.sf.net> | |
Sun, 7 Jun 2009 20:48:59 +0000 (23:48 +0300) | ||
commit | 55577a48ea9e93ec6532b1e81684e4c0ae26157c | |
tree | 7115b307d2964dc7485968b889db0e3100bb2e1f | tree | snapshot (tar.xz tar.gz zip) |
parent | fbaa49faf4a1122cf2d3fb4f4425a4e028b20460 | commit | diff |
registry: don't recreate features on first use. Fixes #584389
The first time one calls gst_element_factory_make(), gst recreates the plugin
feature and the element factory. As a side effect we ref the class to fill
in detail we already have filled from the registry cache. This patch changes
the behaviour to just update the existing entries. The factory is now attached
to the type and set in gst_element_base_class_init().
The first time one calls gst_element_factory_make(), gst recreates the plugin
feature and the element factory. As a side effect we ref the class to fill
in detail we already have filled from the registry cache. This patch changes
the behaviour to just update the existing entries. The factory is now attached
to the type and set in gst_element_base_class_init().
gst/gstelement.c | diff | blob | history | |
gst/gstelementfactory.c | diff | blob | history | |
gst/gstplugin.c | diff | blob | history | |
win32/common/libgstreamer.def | diff | blob | history |