diff --git a/docs/fwg/gst-plugin-writers-guide.sgml b/docs/fwg/gst-plugin-writers-guide.sgml index 6570726e19..d557f4e59d 100644 --- a/docs/fwg/gst-plugin-writers-guide.sgml +++ b/docs/fwg/gst-plugin-writers-guide.sgml @@ -163,7 +163,7 @@ - + Autopluggers &GStreamer; has an autoplugging mechanism, which enables application @@ -542,6 +542,9 @@ Defining an element + A new element is defined by creating an element factory. This is a + structure containing all the information needed to create an instance + of the element. @@ -563,6 +566,15 @@ + + Defining a type + + A new type is defined by creating an type factory. This is a + structure containing all the information needed to create an instance + of the type. + + + The plugin_init function @@ -571,9 +583,12 @@ function, which is called as soon as the plugin is loaded, and must return a pointer to a newly allocated GstPlugin structure. This structure contains the details of all the facilities provided - by the plugin. Helper functions are provided to help fill the + by the plugin, and is the mechanism by which the definitions are + made available to the rest of the &GStreamer; system. Helper + functions are provided to help fill the structure: for future compatability it is recommended that these - functions are used, as documented below. + functions are used, as documented below, rather than attempting to + access the structure directly. Note that the information returned by the plugin_init() function @@ -590,6 +605,7 @@ Registering new types + void gst_plugin_add_type(GstPlugin *plugin,