summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-10-28 09:58:52 +0200
committerStefan Kost <ensonic@users.sf.net>2009-10-28 09:58:52 +0200
commitb66a4dbd42e238f5245a327f040723aadc40251f (patch)
treef0c5c71b06d4a89785d460c8622da8c5478b3ba9
parent369a63b11cd8d88143ae0497a30f6641428964e1 (diff)
docs: tell more about what happens in gst_init.
Add links to gst_update_registry and the env-vars.
-rw-r--r--gst/gst.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/gst.c b/gst/gst.c
index a2eb80e47a..8ab3918628 100644
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -456,6 +456,13 @@ gst_init_check (int *argc, char **argv[], GError ** err)
* Initializes the GStreamer library, setting up internal path lists,
* registering built-in elements, and loading standard plugins.
*
+ * Unless the plugin registry is disabled at compile time, the registry will be
+ * loaded. By default this will also check if the registry cache needs to be
+ * updated and rescan all plugins if needed. See gst_update_registry() for
+ * details and section
+ * <link linkend="gst-running">Running GStreamer Applications</link>
+ * for how to disable automatic registry updates.
+ *
* This function should be called before calling any other GLib functions. If
* this is not an option, your program must initialise the GLib thread system
* using g_thread_init() before any other GLib functions are called.