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

dash: Don't require the Representation @id. Many stream won't provide it.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9caf4cee
......@@ -178,12 +178,9 @@ void BasicCMParser::setRepresentations (Node *root, Group *group)
it = attributes.find( "id" );
if ( it == attributes.end() )
{
std::cerr << "Missing mandatory attribute for Representation: @id" << std::endl;
delete rep;
continue ;
}
rep->setId( it->second );
else
rep->setId( it->second );
it = attributes.find( "bandwidth" );
if ( it == attributes.end() )
......
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