Webplugins: Working path is wrong
For example, if you want to add a logo with a relative path, it will not work:
vlc.video.logo.file("file.png");
core filter debug: looking for sub source module matching "logo": 6 candidates
logo filter debug: logo file name file.png, delay -1, alpha -1
core filter debug: creating access 'file' location='/C:/Program%20Files%20%28x86%29/Mozilla%20Firefox/file.png', path='C:\Program Files (x86)\Mozilla Firefox\file.png'
core access debug: looking for access module matching "file": 21 candidates
filesystem access debug: opening file `C:\Program Files (x86)\Mozilla Firefox\file.png'
filesystem access error: cannot open file C:\Program Files (x86)\Mozilla Firefox\file.png (No such file or directory)
core access error: Einlesen der Datei fehlgeschlagen
core access error: VLC konnte die Datei „C:\Program Files (x86)\Mozilla Firefox\file.png“ nicht öffnen (Bad file descriptor).
core access debug: no access modules matched
core filter error: no suitable access module for `file:///C:/Program%20Files%20%28x86%29/Mozilla%20Firefox/file.png'
core filter debug: could not open file:///C:/Program%20Files%20%28x86%29/Mozilla%20Firefox/file.png for reading
logo filter warning: error while loading logo file.png, will be skipped
core filter debug: using sub source module "logo"
core subpicture debug: Filter 'logo' (01d18dcc) appended to chain
Similar problem with MRLs:
vlc.video.logo.file("file:///d:/file.png")
core filter debug: looking for sub source module matching "logo": 6 candidates
logo filter debug: logo file name file:///d:/file.png, delay -1, alpha -1
core filter debug: creating access 'file' location='/C:/Program%20Files%20%28x86%29/Mozilla%20Firefox/file%3A%2F%2F%2Fd%3A%2Ffile.png', path='C:\Program Files (x86)\Mozilla Firefox\file:\\\d:\file.png'
core access debug: looking for access module matching "file": 21 candidates
filesystem access debug: opening file `C:\Program Files (x86)\Mozilla Firefox\file:\\\d:\file.png'
filesystem access error: cannot open file C:\Program Files (x86)\Mozilla Firefox\file:\\\d:\file.png (Invalid argument)
core access error: Einlesen der Datei fehlgeschlagen
core access error: VLC konnte die Datei „C:\Program Files (x86)\Mozilla Firefox\file:\\\d:\file.png“ nicht öffnen (Bad file descriptor).
core access debug: no access modules matched
core filter error: no suitable access module for `file:///C:/Program%20Files%20%28x86%29/Mozilla%20Firefox/file%3A%2F%2F%2Fd%3A%2Ffile.png'
core filter debug: could not open file:///C:/Program%20Files%20%28x86%29/Mozilla%20Firefox/file%3A%2F%2F%2Fd%3A%2Ffile.png for reading
logo filter warning: error while loading logo file:///d:/file.png, will be skipped
core filter debug: using sub source module "logo"
core subpicture debug: Filter 'logo' (04ffa094) appended to chain
It works only if a windows path is given:
vlc.video.logo.file("d:\\file.png")
It seems that the ActiveX/NPAPI plugin will not use the html file as working path, but instead the desktop path (ActiveX) or the program path of the browser (NPAPI).
The same behavior occours with some command line parameters like "sub-file", if you use it with vlc.playlist.add().
No problems with relative video paths, because the absolute path will be generated in the plugins.