mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
gst/gstregistry.c: Run g_str_has_suffix() only on the file name, not the entire file path.
Original commit message from CVS: * gst/gstregistry.c: (gst_registry_scan_path_level): Run g_str_has_suffix() only on the file name, not the entire file path.
This commit is contained in:
parent
449a426169
commit
2d8bbf7127
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* gst/gstregistry.c: (gst_registry_scan_path_level):
|
||||
Run g_str_has_suffix() only on the file name, not the
|
||||
entire file path.
|
||||
|
||||
2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
|
||||
|
|
|
@ -829,9 +829,9 @@ gst_registry_scan_path_level (GstRegistry * registry, const gchar * path,
|
|||
g_free (filename);
|
||||
continue;
|
||||
}
|
||||
if (!g_str_has_suffix (filename, G_MODULE_SUFFIX)
|
||||
if (!g_str_has_suffix (dirent, G_MODULE_SUFFIX)
|
||||
#ifdef GST_EXTRA_MODULE_SUFFIX
|
||||
&& !g_str_has_suffix (filename, GST_EXTRA_MODULE_SUFFIX)
|
||||
&& !g_str_has_suffix (dirent, GST_EXTRA_MODULE_SUFFIX)
|
||||
#endif
|
||||
) {
|
||||
GST_LOG_OBJECT (registry,
|
||||
|
|
Loading…
Reference in a new issue