mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
registry: Only scan plugin files that end with an extension
Not file that would for some reason end with 'so' or 'dll', etc... https://bugzilla.gnome.org/show_bug.cgi?id=779175
This commit is contained in:
parent
6326c764ee
commit
18a5cff70c
1 changed files with 1 additions and 1 deletions
|
@ -1265,7 +1265,7 @@ gst_registry_scan_path_level (GstRegistryScanContext * context,
|
|||
g_free (filename);
|
||||
continue;
|
||||
}
|
||||
if (!g_str_has_suffix (dirent, G_MODULE_SUFFIX)
|
||||
if (!g_str_has_suffix (dirent, "." G_MODULE_SUFFIX)
|
||||
#ifdef GST_EXTRA_MODULE_SUFFIX
|
||||
&& !g_str_has_suffix (dirent, GST_EXTRA_MODULE_SUFFIX)
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue