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 e221c3553a70d40495d53a58e6da21e280ce7fae..4e7031924ecbe73a1e5969aa83789e38bcaa7c8c 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);
   }
 }