VLC_PLUGIN_PATH is ignored if set from current process (windows)

This forum is about all development around libVLC.
Lao
New Cone
New Cone
Posts: 1
Joined: 10 Sep 2018 17:31

VLC_PLUGIN_PATH is ignored if set from current process (windows)

Postby Lao » 10 Sep 2018 17:59

As I understand setting the environment variable VLC_PLUGIN_PATH is now the only way to change the default plugin path ./plugins for libvlc, as the option --plugin-path has been removed (what was the reason, btw?). This works if I set the said variable system (or user) -wide, but has no effect if set by calling SetEnvironmentVariable within the process that uses libvlc, even if done before loading libvlc.dll. What am i doing wrong?
I'm using vlc 3.0.4, 64 bit, Windows 7, MSVC 2015

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: VLC_PLUGIN_PATH is ignored if set from current process (windows)

Postby mfkl » 19 Sep 2018 09:49

What am i doing wrong?
I'm not sure whether there is another way than setting a variable user-wide.
https://mfkl.github.io

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC_PLUGIN_PATH is ignored if set from current process (windows)

Postby Rémi Denis-Courmont » 19 Sep 2018 18:46

I can only guess that your run-time is not exporting the variable to the system where the LibVLC C run-time can find it ?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: m1adow and 19 guests