summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-10-23 05:47:41 -0500
committertrav90 <travawine@palemoon.org>2018-10-23 05:47:41 -0500
commit192199b03fa2e56d2728b0de1dbe4bedfc1edc50 (patch)
tree5207936c614665ab79a96ed007d5cba4e7ccf920
parent23013dda60af6191467a46ce73f1382bf69af01e (diff)
downloadUXP-192199b03fa2e56d2728b0de1dbe4bedfc1edc50.tar
UXP-192199b03fa2e56d2728b0de1dbe4bedfc1edc50.tar.gz
UXP-192199b03fa2e56d2728b0de1dbe4bedfc1edc50.tar.lz
UXP-192199b03fa2e56d2728b0de1dbe4bedfc1edc50.tar.xz
UXP-192199b03fa2e56d2728b0de1dbe4bedfc1edc50.zip
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.
-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) {