plugin: Stop plugin symbol name at first .

This is because the python plugin ends up named
libgstpython.cpython-35m-x86_64-linux-gnu.so so we need to stop
at the first dot.

https://bugzilla.gnome.org/show_bug.cgi?id=782924
This commit is contained in:
Olivier Crête 2017-05-21 17:04:10 +02:00
parent f6b42d1f56
commit 156ce96296

View file

@ -700,7 +700,7 @@ extract_symname (const char *filename)
else if (g_str_has_prefix (bname, "lib"))
prefix_len += 3;
dot = g_utf8_strrchr (bname, -1, '.');
dot = g_utf8_strchr (bname, -1, '.');
if (dot)
len = dot - bname - prefix_len;
else