ladspa: Don't try and load every file as a plugin
authorJan Schmidt <jan@centricular.com>
Sat, 21 Jul 2018 23:52:23 +0000 (09:52 +1000)
committerJan Schmidt <jan@centricular.com>
Sun, 22 Jul 2018 00:39:30 +0000 (10:39 +1000)
commitff736c730d69d0180287356575a18aacd0dfd094
tree1f307cb3cd1d6d11814d733420f642d77e0581b1
parent1b095e9609ef6f4a197c1fcfa662c4dc6fcea219
ladspa: Don't try and load every file as a plugin

When scanning paths for LADSPA plugins, don't try and load
every random file as a module, as g_module_open ends up throwing
errors on Windows.

Use a G_MODULE_SUFFIX and GST_EXTRA_MODULE_SUFFIX suffix check as
we do for GStreamer plugins.

https://bugzilla.gnome.org/show_bug.cgi?id=796450
ext/ladspa/gstladspa.c