mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
added handling of unexpected tags
This commit is contained in:
parent
a7ace58712
commit
0af9ccc990
1 changed files with 2 additions and 0 deletions
|
|
@ -1015,6 +1015,8 @@ public class DashManifestParser extends DefaultHandler
|
||||||
source = xpp.nextText();
|
source = xpp.nextText();
|
||||||
} else if (XmlPullParserUtil.isStartTag(xpp, "Copyright")) {
|
} else if (XmlPullParserUtil.isStartTag(xpp, "Copyright")) {
|
||||||
copyright = xpp.nextText();
|
copyright = xpp.nextText();
|
||||||
|
} else {
|
||||||
|
maybeSkipTag(xpp);
|
||||||
}
|
}
|
||||||
} while (!XmlPullParserUtil.isEndTag(xpp, "ProgramInformation"));
|
} while (!XmlPullParserUtil.isEndTag(xpp, "ProgramInformation"));
|
||||||
return new ProgramInformation(title, source, copyright, moreInformationURL, lang);
|
return new ProgramInformation(title, source, copyright, moreInformationURL, lang);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue