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,11 +178,8 @@ void BasicCMParser::setRepresentations (Node *root, Group *group) ...@@ -178,11 +178,8 @@ void BasicCMParser::setRepresentations (Node *root, Group *group)
it = attributes.find( "id" ); it = attributes.find( "id" );
if ( it == attributes.end() ) if ( it == attributes.end() )
{
std::cerr << "Missing mandatory attribute for Representation: @id" << std::endl; std::cerr << "Missing mandatory attribute for Representation: @id" << std::endl;
delete rep; else
continue ;
}
rep->setId( it->second ); rep->setId( it->second );
it = attributes.find( "bandwidth" ); it = attributes.find( "bandwidth" );
......
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