mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Fix canPlayType/isTypeSupported for AV1 content
This commit is contained in:
parent
6676331d30
commit
cbacc81f82
6 changed files with 35 additions and 33 deletions
|
|
@ -70,8 +70,7 @@ WebMDecoder::CanHandleMediaType(const nsACString& aMIMETypeExcludingCodecs,
|
|||
continue;
|
||||
}
|
||||
#ifdef MOZ_AV1
|
||||
if (isWebMVideo && MediaPrefs::AV1Enabled() &&
|
||||
AOMDecoder::IsSupportedCodec(codec)) {
|
||||
if (MediaPrefs::AV1Enabled() && IsAV1CodecString(codec)) {
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue