mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-28 14:52:24 +00:00
parent
089b12b78e
commit
17abd49bda
1 changed files with 0 additions and 16 deletions
16
gst/gst.c
16
gst/gst.c
|
@ -405,22 +405,6 @@ init_pre (void)
|
|||
}
|
||||
_user_registry = gst_xml_registry_new ("user_registry", user_reg);
|
||||
|
||||
#ifndef GST_DISABLE_REGISTRY
|
||||
/* this test is a hack; gst-register sets this to false
|
||||
* so this is a test for the current instance being gst-register */
|
||||
if (_gst_registry_auto_load == TRUE)
|
||||
{
|
||||
/* do a sanity check here; either one of the two registries should exist */
|
||||
if (!g_file_test (user_reg, G_FILE_TEST_IS_REGULAR))
|
||||
if (!g_file_test (GLOBAL_REGISTRY_FILE, G_FILE_TEST_IS_REGULAR))
|
||||
{
|
||||
g_print ("Couldn't find user registry %s or global registry %s\n",
|
||||
user_reg, GLOBAL_REGISTRY_FILE);
|
||||
g_error ("Please run gst-register either as root or user");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
g_free (user_reg);
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue