Skip to content

Commit

Permalink
SmoothStream add subtitle support
Browse files Browse the repository at this point in the history
  • Loading branch information
peak3d committed Jul 17, 2017
1 parent b561478 commit 3bdcbe5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser/SmoothTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ start(void *data, const char *el, const char **attr)
dash->current_adaptationset_->type_ =
stricmp((const char*)*(attr + 1), "video") == 0 ? SmoothTree::VIDEO
: stricmp((const char*)*(attr + 1), "audio") == 0 ? SmoothTree::AUDIO
: stricmp((const char*)*(attr + 1), "text") == 0 ? SmoothTree::SUBTITLE
: SmoothTree::NOTYPE;
else if (strcmp((const char*)*attr, "Language") == 0)
dash->current_adaptationset_->language_ = (const char*)*(attr + 1);
Expand Down

0 comments on commit 3bdcbe5

Please sign in to comment.