mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
attach global instead of local registry to GST_REGISTRY
Original commit message from CVS: attach global instead of local registry to GST_REGISTRY
This commit is contained in:
parent
5fe16c54e7
commit
4e298c0641
2 changed files with 12 additions and 2 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2004-03-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* gst/gst.c: (init_post):
|
||||||
|
change so that GST_REGISTRY now is where the global registry gets
|
||||||
|
saved, since that is where plugins now get attached to first, and
|
||||||
|
spilled over to the user registry. Note that in the case of using
|
||||||
|
GST_REGISTRY env var, we don't want to affect any real registries
|
||||||
|
beyond the one given by this var, and thus we don't set a user
|
||||||
|
registry to spill to. So make sure GST_REGISTRY is writable.
|
||||||
|
|
||||||
2004-03-01 David Schleef <ds@schleef.org>
|
2004-03-01 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* AUTHORS: Added some names. Add yourself if you're missing.
|
* AUTHORS: Added some names. Add yourself if you're missing.
|
||||||
|
|
|
@ -551,7 +551,7 @@ init_post (void)
|
||||||
if (!_gst_registry_fixed) {
|
if (!_gst_registry_fixed) {
|
||||||
/* don't override command-line options */
|
/* don't override command-line options */
|
||||||
if (g_getenv ("GST_REGISTRY")) {
|
if (g_getenv ("GST_REGISTRY")) {
|
||||||
g_object_set (_user_registry, "location", g_getenv ("GST_REGISTRY"), NULL);
|
g_object_set (_global_registry, "location", g_getenv ("GST_REGISTRY"), NULL);
|
||||||
_gst_registry_fixed = TRUE;
|
_gst_registry_fixed = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -560,7 +560,7 @@ init_post (void)
|
||||||
gst_registry_pool_add (_global_registry, 100);
|
gst_registry_pool_add (_global_registry, 100);
|
||||||
gst_registry_pool_add (_user_registry, 50);
|
gst_registry_pool_add (_user_registry, 50);
|
||||||
} else {
|
} else {
|
||||||
gst_registry_pool_add (_user_registry, 50);
|
gst_registry_pool_add (_global_registry, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_gst_registry_auto_load) {
|
if (_gst_registry_auto_load) {
|
||||||
|
|
Loading…
Reference in a new issue