From: David Schleef Date: Sat, 2 Aug 2003 01:53:08 +0000 (+0000) Subject: Remove check for readability of a registry, since if it doesn't exist, it's not reada... X-Git-Tag: BRANCH-ERROR-ROOT~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a8c2c74cfc554bb811c446586ef204e5163aac4;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/gst/gstregistrypool.c b/gst/gstregistrypool.c index e221c35..4e70319 100644 --- a/gst/gstregistrypool.c +++ b/gst/gstregistrypool.c @@ -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); } }