projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
632952b
)
gstplugin: remove gst prefix when loading plugin on MSVC
author
Matej Knopp
<matej.knopp@gmail.com>
Thu, 1 Jun 2017 22:52:37 +0000
(
00:52
+0200)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Fri, 23 Jun 2017 09:10:48 +0000
(14:40 +0530)
When building with Meson and MSVC, our plugins don't have a 'libgst'
suffix and are just 'gstfoo.dll', so look for that too.
https://bugzilla.gnome.org/show_bug.cgi?id=783333
gst/gstplugin.c
patch
|
blob
|
history
diff --git
a/gst/gstplugin.c
b/gst/gstplugin.c
index
3feb1aa
..
12f8743
100644
(file)
--- a/
gst/gstplugin.c
+++ b/
gst/gstplugin.c
@@
-699,6
+699,8
@@
extract_symname (const char *filename)
prefix_len += 6;
else if (g_str_has_prefix (bname, "lib"))
prefix_len += 3;
+ else if (g_str_has_prefix(bname, "gst"))
+ prefix_len += 3;
dot = g_utf8_strchr (bname, -1, '.');
if (dot)