On windows doing os_glob will also include '.' and '..', exclude these when searching for modules.
@@ -253,6 +253,9 @@ static void process_found_module(struct obs_module_path *omp,
char *parsed_data_dir;
bool bin_found = true;
+ if (strcmp(path, ".") == 0 || strcmp(path, "..") == 0)
+ return;
+
file = strrchr(path, '/');
file = file ? (file + 1) : path;