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
13806557
authored
Dec 30, 2021
by
olly
Committed by
tonihei
Jan 04, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Parse CryptoInfo from simpleTag and set it into DrmInitData.
PiperOrigin-RevId: 418960700
parent
5370332f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/MatroskaExtractor.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/MatroskaExtractor.java
View file @
13806557
...
...
@@ -1325,7 +1325,12 @@ public class MatroskaExtractor implements Extractor {
}
}
private
Track
getCurrentTrack
(
int
currentElementId
)
throws
ParserException
{
/**
* Returns the track corresponding to the current TrackEntry element.
*
* @throws ParserException if the element id is not in a TrackEntry.
*/
protected
Track
getCurrentTrack
(
int
currentElementId
)
throws
ParserException
{
assertInTrackEntry
(
currentElementId
);
return
currentTrack
;
}
...
...
@@ -1900,7 +1905,8 @@ public class MatroskaExtractor implements Extractor {
}
}
private
static
final
class
Track
{
/** Holds data corresponding to a single track. */
protected
static
final
class
Track
{
private
static
final
int
DISPLAY_UNIT_PIXELS
=
0
;
private
static
final
int
MAX_CHROMATICITY
=
50_000
;
// Defined in CTA-861.3.
...
...
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