Skip to content

Commit

Permalink
Merge pull request xbmc#10 from CastagnaIT/name_param
Browse files Browse the repository at this point in the history
Add parsing adaptionSet "name" parameter
  • Loading branch information
matthuisman authored Aug 24, 2020
2 parents b4a03bc + 3f27da4 commit 963d376
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parser/DASHTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,8 @@ static void XMLCALL start(void* data, const char* el, const char** attr)
dash->current_adaptationset_->language_ = ltranslate((const char*)*(attr + 1));
else if (strcmp((const char*)*attr, "mimeType") == 0)
dash->current_adaptationset_->mimeType_ = (const char*)*(attr + 1);
else if (strcmp((const char*)*attr, "name") == 0)
dash->current_adaptationset_->name_ = (const char*)*(attr + 1);
else if (strcmp((const char*)*attr, "codecs") == 0)
dash->current_adaptationset_->codecs_ = (const char*)*(attr + 1);
else if (strcmp((const char*)*attr, "width") == 0)
Expand Down

0 comments on commit 963d376

Please sign in to comment.