Skip to content
Snippets Groups Projects
Commit 7d37ad40 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed:
Browse files

demux: adaptive: codecs does not belong to ext-x-media

parent 8c7ce536
No related branches found
No related tags found
No related merge requests found
......@@ -522,12 +522,7 @@ M3U8 * M3U8Parser::parse(vlc_object_t *p_object, stream_t *p_stream, const std::
}
const Attribute *typeattr = pair.second->getAttributeByName("TYPE");
if(pair.second->getAttributeByName("CODECS"))
{
rep->addCodecs(pair.second->getAttributeByName("CODECS")->quotedString());
}
else if(typeattr)
if(typeattr)
{
if(typeattr->value == "AUDIO")
rep->addCodecs("mp4a");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment