* <title>Using an element factory</title>
* <programlisting language="c">
* #include <gst/gst.h>
+ *
* GstElement *src;
* GstElementFactory *srcfactory;
- * gst_init(&argc,&argv);
- * srcfactory = gst_element_factory_find("filesrc");
- * g_return_if_fail(srcfactory != NULL);
- * src = gst_element_factory_create(srcfactory,"src");
- * g_return_if_fail(src != NULL);
+ *
+ * gst_init (&argc, &argv);
+ *
+ * srcfactory = gst_element_factory_find ("filesrc");
+ * g_return_if_fail (srcfactory != NULL);
+ * src = gst_element_factory_create (srcfactory, "src");
+ * g_return_if_fail (src != NULL);
* ...
* </programlisting>
* </example>
* unaffected; use the return value instead.
*
* Normally this function is used like this:
- *
- * <programlisting>
+ * |[
* GstPluginFeature *loaded_feature;
+ *
* loaded_feature = gst_plugin_feature_load (feature);
* // presumably, we're no longer interested in the potentially-unloaded feature
* gst_object_unref (feature);
* feature = loaded_feature;
- * </programlisting>
+ * ]|
*
* Returns: A reference to the loaded feature, or NULL on error.
*/