Parse CryptoInfo from simpleTag and set it into DrmInitData.
PiperOrigin-RevId: 418960700
This commit is contained in:
parent
b05583f00d
commit
d9fd85aa63
@ -1327,7 +1327,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);
|
assertInTrackEntry(currentElementId);
|
||||||
return currentTrack;
|
return currentTrack;
|
||||||
}
|
}
|
||||||
@ -1902,7 +1907,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 DISPLAY_UNIT_PIXELS = 0;
|
||||||
private static final int MAX_CHROMATICITY = 50_000; // Defined in CTA-861.3.
|
private static final int MAX_CHROMATICITY = 50_000; // Defined in CTA-861.3.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user