From e464ee0ffcc025a8a74c6af5aa538d3f9c63a819 Mon Sep 17 00:00:00 2001 From: microkatz Date: Wed, 25 Oct 2023 14:20:22 +0000 Subject: [PATCH] Add av1C to atom list comment in colr atom parse --- .../main/java/androidx/media3/extractor/mp4/AtomParsers.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/extractor/src/main/java/androidx/media3/extractor/mp4/AtomParsers.java b/libraries/extractor/src/main/java/androidx/media3/extractor/mp4/AtomParsers.java index 1fde67883a1..d08e01eb4f2 100644 --- a/libraries/extractor/src/main/java/androidx/media3/extractor/mp4/AtomParsers.java +++ b/libraries/extractor/src/main/java/androidx/media3/extractor/mp4/AtomParsers.java @@ -1328,8 +1328,8 @@ private static void parseVideoSampleEntry( // established by the bitstream. The absence of color descriptors ('colorSpace' and // 'colorTransfer') does not necessarily mean that 'colorRange' has default values, hence it // is not being verified here. - // If 'Atom.TYPE_avcC', 'Atom.TYPE_hvcC' or 'Atom.TYPE_vpcC' is available, they will take - // precedence and overwrite any existing values. + // If 'Atom.TYPE_avcC', 'Atom.TYPE_hvcC', 'Atom.TYPE_vpcC' or 'Atom.TYPE_av1c' is available, + // they will take precedence and overwrite any existing values. if (colorSpace == Format.NO_VALUE && colorTransfer == Format.NO_VALUE) { int colorType = parent.readInt(); if (colorType == TYPE_nclx || colorType == TYPE_nclc) {