mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-23 23:57:31 +09:00
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.
This commit is contained in:
parent
de6b3a930f
commit
1269f82d33
1 changed files with 0 additions and 8 deletions
|
|
@ -147,14 +147,6 @@ MP4Decoder::CanHandleMediaType(const MediaContentType& aType,
|
||||||
NS_LITERAL_CSTRING("audio/flac"), aType));
|
NS_LITERAL_CSTRING("audio/flac"), aType));
|
||||||
continue;
|
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
|
// Note: Only accept H.264 in a video content type, not in an audio
|
||||||
// content type.
|
// content type.
|
||||||
if (IsWhitelistedH264Codec(codec) && isMP4Video) {
|
if (IsWhitelistedH264Codec(codec) && isMP4Video) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue