summaryrefslogtreecommitdiff
path: root/gst/gstregistry.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gstregistry.c')
-rw-r--r--gst/gstregistry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstregistry.c b/gst/gstregistry.c
index 0e33a9e13..de9f0d306 100644
--- a/gst/gstregistry.c
+++ b/gst/gstregistry.c
@@ -1126,7 +1126,7 @@ gst_registry_scan_path_level (GstRegistryScanContext * context,
/* FIXME 0.11: Don't recurse into directories, this behaviour
* is inconsistent with other PATH environment variables
*/
- if (level > 0) {
+ if (level) {
GST_LOG_OBJECT (context->registry, "recursing into directory %s",
filename);
changed |= gst_registry_scan_path_level (context, filename, level - 1);