(lib)VLC does not correctly detect the plugin path correctly if loaded in a thirdparty app.
When libvlc is installed at /usr/local/lib/libvlccore.7.dylib
, the plugins will be installed to /usr/local/lib/vlc/plugins
but config_GetLibPath
(from src/darwin/dirs.c
) returns "/usr/local" so plugins are then search in "/usr/local/plugins".
The corresponding code on Linux (src/posix/linux_specific.c
) appends in this case PACKAGE
to the path and generates the correct path.
A possible fix may be to append "/"PACKAGE
in src/darwin/dirs.c:82-83
but I'm not 100% sure if that is the correct way.