If a gst python plugin fails to load, the meta plugin
should continue to try loading the following.
If no plugin can be loaded, the meta plugin should
not be blacklisted by returning false.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2253>
GDir *dir;
const gchar *file;
GError *error = NULL;
- gboolean ret = TRUE;
dir = g_dir_open (path, 0, &error);
if (!dir) {
if (g_str_has_suffix (file, ".py")) {
gsize len = strlen (file) - 3;
gchar *name = g_strndup (file, len);
- ret &= gst_python_plugin_load_file (plugin, name);
+ gst_python_plugin_load_file (plugin, name);
g_free (name);
}
}