From: Olivier CrĂȘte Date: Sun, 21 May 2017 15:04:10 +0000 (+0200) Subject: plugin: Stop plugin symbol name at first . X-Git-Tag: 1.16.2~761 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=156ce962968709feaf49d9b671a2c614c3e438ee;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/gst/gstplugin.c b/gst/gstplugin.c index 43b830d..3feb1aa 100644 --- a/gst/gstplugin.c +++ b/gst/gstplugin.c @@ -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