logic was reversed, duh

Original commit message from CVS:
logic was reversed, duh
This commit is contained in:
Thomas Vander Stichele 2005-06-29 12:40:39 +00:00
parent a30e9069d1
commit 80717cb5d1

View file

@ -504,7 +504,7 @@ init_pre (void)
gst_registry_add_path (_global_registry, PLUGINS_BUILDDIR "/gst/indexers");
#else
/* add the main (installed) library path if GST_PLUGIN_PATH_ONLY not set */
if (g_getenv ("GST_PLUGIN_PATH_ONLY") != NULL) {
if (g_getenv ("GST_PLUGIN_PATH_ONLY") == NULL) {
gst_registry_add_path (_global_registry, PLUGINS_DIR);
}
#endif /* PLUGINS_USE_BUILDDIR */