Commit 13806557 by olly Committed by tonihei

Parse CryptoInfo from simpleTag and set it into DrmInitData.

PiperOrigin-RevId: 418960700
parent 5370332f
...@@ -1325,7 +1325,12 @@ public class MatroskaExtractor implements Extractor { ...@@ -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); assertInTrackEntry(currentElementId);
return currentTrack; return currentTrack;
} }
...@@ -1900,7 +1905,8 @@ public class MatroskaExtractor implements Extractor { ...@@ -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 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.
......
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