diff options
author | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-02-24 10:23:01 -0300 |
---|---|---|
committer | Thibault Saunier <thibault.saunier@osg.samsung.com> | 2017-02-24 16:16:39 -0300 |
commit | 18a5cff70c619e5bb08e0a1c1e4eeb1b996bb478 (patch) | |
tree | 0fa7cdac4447e1fa384e00156dfb8b491abec559 /gst/gstregistry.c | |
parent | 6326c764ee85fa17f1d7838f6e4d5824e07e3132 (diff) | |
download | gstreamer-18a5cff70c619e5bb08e0a1c1e4eeb1b996bb478.tar.gz |
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
Diffstat (limited to 'gst/gstregistry.c')
-rw-r--r-- | gst/gstregistry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstregistry.c b/gst/gstregistry.c index cc094e3eef..7ea77841ff 100644 --- a/gst/gstregistry.c +++ b/gst/gstregistry.c @@ -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 |