Remove check for readability of a registry, since if it doesn't exist, it's not reada...
authorDavid Schleef <ds@schleef.org>
Sat, 2 Aug 2003 01:53:08 +0000 (01:53 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 2 Aug 2003 01:53:08 +0000 (01:53 +0000)
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.

gst/gstregistrypool.c

index e221c35..4e70319 100644 (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);
   }
 }