Commit fd878713 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

dash: Parser: Ignore segments without sourceURL

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 7127d0c9
......@@ -335,6 +335,7 @@ bool BasicCMParser::setSegments (Node *root, SegmentInfo *info)
{
Segment *seg = new Segment();
parseSegment( seg, segments.at(i)->getAttributes() );
if ( seg->getSourceUrl().empty() == false )
info->addSegment(seg);
}
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