registry: fill in elementfactory when registering element
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Sat, 29 Aug 2009 18:44:36 +0000 (20:44 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Mon, 31 Aug 2009 13:34:54 +0000 (15:34 +0200)
commit1b6da398fb4e94e57c2612be7e364217407e4217
treea31bfd33ef8a115bd6718f7cbb4de8a920b4a970
parentb0c1ebbd0883a9191d553a40b78facff8cb7c26e
registry: fill in elementfactory when registering element

elementfactory field is filled in by gst_element_base_class_init,
but it needs some info set on the element's type, so have it
available prior to class structure creation spinning up.
This affects elements that have a well-known/public type (e.g. pipeline)
and can be created by other means than gst_element_factory_make
(which will also fill in the element's factory).
gst/gstelementfactory.c