[Bug 783333] Fix plugin loading on windows with meson build

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 3 19:55:54 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=783333

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #8 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
> I would add another case (if all else fails) that checks as for the whole
> DLL filename (without extension) as plugin name.

I think this is already handled. The code is currently:

  guint prefix_len = 0;

  if (g_str_has_prefix (bname, "libgst"))
    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;

which is in effect the same as an additional

  else
    prefix_len = 0

at the end, which is what we're talking about, right?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list