demux/playlist/xspf: fix input-item uri creation
authorFilip Roséen <filip@atch.se>
Thu, 13 Oct 2016 20:43:13 +0000 (22:43 +0200)
committerThomas Guillem <thomas@gllm.fr>
Fri, 28 Oct 2016 17:08:12 +0000 (19:08 +0200)
commit36bee7702fe9f12b44f8228332813b05fdd125a4
tree4ba2e443bf3eccc0e0b537dd1a5f3959358291a9
parent29b943ba6e9ef6cd6adc6a9a101d3a22825efb9c
demux/playlist/xspf: fix input-item uri creation

The previous implementation inaccurately treated "p_sys->psz_base" as
if it was referring to whatever directory (uri-wise) that contains the
playlist we are currently processing.

Given that this is not the case, it would not handle relative paths
correctly.

These changes make sure that we use ProcessMRL to properly handle the
paths found within the playlist (the function handles both absolute
and relative ones).

fixes #17506

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
modules/demux/playlist/xspf.c