Commit 33f8d91d authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf
Browse files

dash: Ignore representations without valid segments.

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent f0bf3522
......@@ -89,7 +89,8 @@ void BasicCMParser::setRepresentations (Node *root, Group *group)
Representation *rep = new Representation(>getAttributes());
this->setSegmentInfo(, rep);
if ( rep->getSegmentInfo() && rep->getSegmentInfo()->getSegments().size() > 0 )
void BasicCMParser::setSegmentInfo (Node *root, Representation *rep)
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