Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
43ea3880
authored
Feb 28, 2019
by
Arnold Szabo
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove old parseRole method that looked only for main
parent
06ed8778
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/DashManifestParser.java
library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/DashManifestParser.java
View file @
43ea3880
...
@@ -470,24 +470,6 @@ public class DashManifestParser extends DefaultHandler
...
@@ -470,24 +470,6 @@ public class DashManifestParser extends DefaultHandler
}
}
/**
/**
* Parses a Role element.
*
* @param xpp The parser from which to read.
* @throws XmlPullParserException If an error occurs parsing the element.
* @throws IOException If an error occurs reading the element.
* @return {@link C.SelectionFlags} parsed from the element.
*/
protected
int
parseRole
(
XmlPullParser
xpp
)
throws
XmlPullParserException
,
IOException
{
String
schemeIdUri
=
parseString
(
xpp
,
"schemeIdUri"
,
null
);
String
value
=
parseString
(
xpp
,
"value"
,
null
);
do
{
xpp
.
next
();
}
while
(!
XmlPullParserUtil
.
isEndTag
(
xpp
,
"Role"
));
return
"urn:mpeg:dash:role:2011"
.
equals
(
schemeIdUri
)
&&
"main"
.
equals
(
value
)
?
C
.
SELECTION_FLAG_DEFAULT
:
0
;
}
/**
* Parses children of AdaptationSet elements not specifically parsed elsewhere.
* Parses children of AdaptationSet elements not specifically parsed elsewhere.
*
*
* @param xpp The XmpPullParser from which the AdaptationSet child should be parsed.
* @param xpp The XmpPullParser from which the AdaptationSet child should be parsed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment