Sorry, but I didn't find a path at all.
I use:
Lazarus V: 1.8.4
FPC: 3.0.4
SVN: 57972
I ran the vlc-example that is delivered with that version
lazarus\components\vlc\test\testlcl.lpi
When compiled, it only runs when all needed VLC-library (dll) are set in the "program files"-folder... VIDEOLAN\VLC, but VLC installs itself under "program files (x86)"
VLC-version installed is V 3.0.4 32 bit
When checking all files on 'program files' I found out that libvlc (in lazarus\fpc\3.0.4\source\packages\libvlc\src) has this path that can be modified and I did so.
Recompiled all (clean up and build" but no modification in the searchpath ... Still c:\program files\videolan\vlc
I also tried the component from vlc: PasLibVlc_3.0.4, but this does not work at all.
Const
{$ifdef unix}
libname = 'libvlc.so.5';
{$else}
{$ifdef windows}
DefaultlibPath = 'C:\Program files (x86)\Videolan\VLC\';
corelibname = 'libvlccore.dll';
libname = 'libvlc.dll';
{$endif}
{$endif}