Remove check for readability of a registry, since if it doesn't exist, it's not readable. Lower-level functions alre...

Original commit message from CVS:
Remove check for readability of a registry, since if it doesn't
exist, it's not readable.  Lower-level functions already handle
this.
This commit is contained in:
David Schleef 2003-08-02 01:53:08 +00:00
parent 4f207a7a8b
commit 3a8c2c74cf

View file

@ -103,8 +103,7 @@ gst_registry_pool_add_plugin (GstPlugin *plugin)
static void
_registry_load_func (GstRegistry *registry, gpointer user_data)
{
if (registry->flags & GST_REGISTRY_READABLE &&
!(registry->flags & GST_REGISTRY_DELAYED_LOADING)) {
if (!(registry->flags & GST_REGISTRY_DELAYED_LOADING)) {
gst_registry_load (registry);
}
}