From 1269f82d330319a8db4b5fc5c1f2ab90a9cd55b5 Mon Sep 17 00:00:00 2001 From: trav90 Date: Tue, 23 Oct 2018 05:47:41 -0500 Subject: [PATCH] Revert "Add support for AV1 in MP4" This commit was incomplete. Will re-land AV1 in MP4 support properly at a future date. This reverts commit 29f718ef78f1a25ca904c6438b59ffc8e365a750. --- dom/media/fmp4/MP4Decoder.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dom/media/fmp4/MP4Decoder.cpp b/dom/media/fmp4/MP4Decoder.cpp index e24680fff2..4cf07ddbd6 100644 --- a/dom/media/fmp4/MP4Decoder.cpp +++ b/dom/media/fmp4/MP4Decoder.cpp @@ -147,14 +147,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) {