Commit 57662f50 authored by Ilkka Ollakka's avatar Ilkka Ollakka

Don't require location under track element in xspf-playlist.

Should fix #1597
parent 0400e1e0
...@@ -509,14 +509,9 @@ static bool parse_track_node COMPLEX_INTERFACE ...@@ -509,14 +509,9 @@ static bool parse_track_node COMPLEX_INTERFACE
FREE_ATT(); FREE_ATT();
if( p_demux->p_sys->i_track_id < 0 ) if( p_demux->p_sys->i_track_id < 0 )
{
char *psz_uri = input_item_GetURI( p_new_input );
if( psz_uri && *psz_uri)
{ {
input_item_AddSubItem( p_input_item, p_new_input ); input_item_AddSubItem( p_input_item, p_new_input );
}
vlc_gc_decref( p_new_input ); vlc_gc_decref( p_new_input );
free( psz_uri );
return true; return true;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment