|
@@ -66,12 +66,12 @@ diff --git a/dom/media/mp4/MP4Decoder.cpp b/dom/media/mp4/MP4Decoder.cpp
|
|
|
}
|
|
|
+#ifdef MOZ_AV1
|
|
|
+ if (IsAV1CodecString(codec)) {
|
|
|
-+ tracks.AppendElement(
|
|
|
++ trackInfos.AppendElement(
|
|
|
+ CreateTrackInfoWithMIMETypeAndContainerTypeExtraParameters(
|
|
|
+ NS_LITERAL_CSTRING("video/") + NS_ConvertUTF16toUTF8(codec), aType));
|
|
|
+ continue;
|
|
|
+ }
|
|
|
-++#endif
|
|
|
++#endif
|
|
|
// Note: Only accept H.264 in a video content type, not in an audio
|
|
|
// content type.
|
|
|
if (IsWhitelistedH264Codec(codec) && isVideo) {
|