Commit d9fd85aa by olly Committed by tonihei

Parse CryptoInfo from simpleTag and set it into DrmInitData.

PiperOrigin-RevId: 418960700
parent b05583f0
......@@ -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);
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 MAX_CHROMATICITY = 50_000; // Defined in CTA-861.3.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment