Commit 78822a60 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>
(cherry picked from commit 4abd446913081747a509e750b5c7e494c4d7a471)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 41f7cecb
......@@ -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