[vlc-devel] commit: xspf: Fix a crash on track elements without a location ( Derk-Jan Hartman )
Rémi Denis-Courmont
remi at remlab.net
Thu Jun 25 14:50:11 CEST 2009
On Thu, 25 Jun 2009 14:35:47 +0200, jpd at videolan.org wrote:
> On Thu, Jun 25, 2009 at 02:24:06PM +0200, git version control wrote:
>> A <track> can have 0 or more <location> elements. VLC doesn't like
>> elements without a uri however, so init an element with vlc://nop.
>> Note also that we currently only support 1 location element per
>> track....
>
> Use the first non-nop entry then?
I would tend to assume that the XSPF file contains a no-op entry for a
reason in the first place. Rather than try to second guess and skip the
entry, I would rather import it as a no-op entry, in fact as this commit
does.
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list