]> git.sesse.net Git - vlc/commit
stream_filter/httplive.c: use hls->url.psz_path in relative_URI() for segments.
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 29 Dec 2010 13:49:55 +0000 (14:49 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 29 Dec 2010 15:49:20 +0000 (16:49 +0100)
commit60ab123e3ccf9b5432c7e46ef7cc52ce361e71fb
tree4178d86aa977a05cf50664edca66192235b6cac5
parentea09a15047ba67961134f1d82088367de6083575
stream_filter/httplive.c: use hls->url.psz_path in relative_URI() for segments.

The function relative_URI() only took the base path from the meta index file into account.
This caused it to miss subdirectories mentioned in the .m3u8 files referenced from the
meta index file. Instead of looking at the base of the meta index file it now looks at
the base path (hls->url.psz_path) from the HLS stream itself for segments.
modules/stream_filter/httplive.c