Commit 30d66a77 authored by Filip Roséen's avatar Filip Roséen Committed by Marvin Scholz
Browse files

demux/playlist: itml: do not halt parsing on unsupported track



This change makes it so that a track without <key>Location</key> is
simply ignored, instead of it preventing further tracks within the
playlist to be parsed (as we should of course import as many tracks as
we possibly can, even if there are some we simply cannot handle).
Signed-off-by: Marvin Scholz's avatarMarvin Scholz <epirat07@gmail.com>
parent ce0d3b2c
......@@ -326,9 +326,9 @@ static bool parse_track_dict( demux_t *p_demux, input_item_node_t *p_input_node,
if( !p_track->location )
{
msg_Err( p_demux, "Track needs Location" );
msg_Warn( p_demux, "ignoring track without Location entry" );
free_track( p_track );
return false;
return true;
}
msg_Info( p_demux, "Adding '%s'", p_track->location );
......
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