summaryrefslogtreecommitdiffstats
path: root/dom/media
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media')
-rw-r--r--dom/media/fmp4/MP4Decoder.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/dom/media/fmp4/MP4Decoder.cpp b/dom/media/fmp4/MP4Decoder.cpp
index 5e288d63f..fdd6f2c7e 100644
--- a/dom/media/fmp4/MP4Decoder.cpp
+++ b/dom/media/fmp4/MP4Decoder.cpp
@@ -139,14 +139,6 @@ MP4Decoder::CanHandleMediaType(const MediaContentType& aType,
NS_LITERAL_CSTRING("audio/flac"), aType));
continue;
}
-#ifdef MOZ_AV1
- if (IsAV1CodecString(codec)) {
- trackInfos.AppendElement(
- CreateTrackInfoWithMIMETypeAndContentTypeExtraParameters(
- NS_LITERAL_CSTRING("video/av1"), aType));
- continue;
- }
-#endif
// Note: Only accept H.264 in a video content type, not in an audio
// content type.
if (IsWhitelistedH264Codec(codec) && isMP4Video) {