summaryrefslogtreecommitdiff
path: root/gst/gstregistry.c
diff options
context:
space:
mode:
authorWilliam Manley <will@williammanley.net>2014-02-11 16:30:31 +0000
committerSebastian Dröge <sebastian@centricular.com>2014-02-11 20:56:48 +0100
commitbe8eeabefcec730747369b63395dba941eaf9c69 (patch)
tree6ac4fc9dd18914d69ba751c5955a09468880b138 /gst/gstregistry.c
parent71ad1d6fdd39840b770bfa03a2822b68eee57df9 (diff)
downloadgstreamer-be8eeabefcec730747369b63395dba941eaf9c69.tar.gz
docs: Fix location of plugins and registry in home directories
Fixes out of date documentation left over since 0.10. In 1.0 plugins are stored in $XDG_DATA_HOME and the registry in $XDG_CACHE_HOME conformant with the XDG Base Directory Specification[1]. [1]: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html https://bugzilla.gnome.org/show_bug.cgi?id=724132
Diffstat (limited to 'gst/gstregistry.c')
-rw-r--r--gst/gstregistry.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/gst/gstregistry.c b/gst/gstregistry.c
index 0830395add..dfd87d0ce3 100644
--- a/gst/gstregistry.c
+++ b/gst/gstregistry.c
@@ -57,15 +57,21 @@
* <listitem>
* <para>default locations (if GST_PLUGIN_SYSTEM_PATH is not set). Those
* default locations are:
- * <filename>~/.gstreamer-$GST_API_VERSION/plugins/</filename>
+ * <filename>$XDG_DATA_HOME/gstreamer-$GST_API_VERSION/plugins/</filename>
* and <filename>$prefix/libs/gstreamer-$GST_API_VERSION/</filename>.
+ * <ulink url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">
+ * <filename>$XDG_DATA_HOME</filename></ulink> defaults to
+ * <filename>$HOME/.local/share</filename>.
* </para>
* </listitem>
* </itemizedlist>
* The registry cache file is loaded from
- * <filename>~/.gstreamer-$GST_API_VERSION/registry-$ARCH.bin</filename> or the
- * file listed in the GST_REGISTRY env var. One reason to change the registry
- * location is for testing.
+ * <filename>$XDG_CACHE_HOME/gstreamer-$GST_API_VERSION/registry-$ARCH.bin</filename>
+ * (where
+ * <ulink url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">
+ * <filename>$XDG_CACHE_HOME</filename></ulink> defaults to
+ * <filename>$HOME/.cache</filename>) or the file listed in the GST_REGISTRY
+ * env var. One reason to change the registry location is for testing.
*
* For each plugin that is found in the plugin search path, there could be 3
* possibilities for cached information: