mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #1820 - Part 2: Add VP9-in-MP4 support to the decoder
This also adds support in StageFright for VP9.0 FourCCs and consolidates individual string checks to helpers for WebM
This commit is contained in:
parent
55504b39bf
commit
648430c9f1
4 changed files with 11 additions and 3 deletions
|
|
@ -142,6 +142,12 @@ MP4Decoder::CanHandleMediaType(const MediaContentType& aType,
|
|||
NS_LITERAL_CSTRING("audio/flac"), aType));
|
||||
continue;
|
||||
}
|
||||
if (IsVP9CodecString(codec)) {
|
||||
trackInfos.AppendElement(
|
||||
CreateTrackInfoWithMIMETypeAndContainerTypeExtraParameters(
|
||||
NS_LITERAL_CSTRING("video/vp9"), aType));
|
||||
continue;
|
||||
}
|
||||
#ifdef MOZ_AV1
|
||||
if (IsAV1CodecString(codec)) {
|
||||
trackInfos.AppendElement(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue