Commit 40b9ca96 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Never load module with zero score implicitly

Regression from cf98594d.
parent 893fb2e2
......@@ -290,7 +290,7 @@ module_t *vlc_module_load(vlc_object_t *obj, const char *capability,
for (ssize_t i = 0; i < total; i++)
{
module_t *cand = mods[i];
if (cand == NULL)
if (cand == NULL || module_get_score (cand) <= 0)
continue;
int ret = module_load (obj, cand, probe, args);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment