[vlc-devel] How to make relative paths in local xspf playlists work?

Rémi Denis-Courmont remi at remlab.net
Thu Jul 30 16:33:24 CEST 2009

Le jeudi 30 juillet 2009 16:24:44 Michael A. Puls II, vous avez écrit :
> I think that would solve the "psz_base should default to the XSPF resource
> location" problem mentioned at
> <https://trac.videolan.org/vlc/browser/modules/demux/playlist/xspf.c#L562>,
> which will make relative paths in local xspf files work.

Not really. Sure, you can get the base URL from the demux_t.psz_path, but you 
still need to implement the algorithm to resolve an absolute URI from a base 
absolute URI and a relative URI... gcc is not going to do it for us.

Rémi Denis-Courmont

More information about the vlc-devel mailing list