gst/gst.c: make the registry cache file HOST_CPU-dependent

Original commit message from CVS:

* gst/gst.c: (init_post):
make the registry cache file HOST_CPU-dependent
This commit is contained in:
Thomas Vander Stichele 2005-12-16 17:34:19 +00:00
parent e70e7f7d95
commit 9b87fae395
4 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.c: (init_post):
make the registry cache file HOST_CPU-dependent
2005-12-16 Andy Wingo <wingo@pobox.com>
* plugins/elements/gstbufferstore.c

2
common

@ -1 +1 @@
Subproject commit 4edc214072fe07d2aade96bc336493425654d7b4
Subproject commit 14377200ccbba1f366ce2c2746c8cd70f61b9840

View file

@ -64,7 +64,7 @@ shell=$SHELL
if test "x$SHELL" == "x/bin/bash"
then
# debian/ubuntu resets our PS1. bastards.
shell="$SHELL --norc --noprofile"
shell="$SHELL --noprofile"
fi
PS1="[gst-$VERSION] $PS1" $shell

View file

@ -589,7 +589,7 @@ init_post (void)
registry_file = g_strdup (g_getenv ("GST_REGISTRY"));
if (registry_file == NULL) {
registry_file = g_build_filename (g_get_home_dir (),
".gstreamer-" GST_MAJORMINOR, "registry.xml", NULL);
".gstreamer-" GST_MAJORMINOR, "registry." HOST_CPU ".xml", NULL);
}
GST_DEBUG ("Reading registry cache");
gst_registry_xml_read_cache (default_registry, registry_file);