mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
Allow matroska mime types for video element and MSE
Allow avc (h.264) content in matroska/webm containers
This commit is contained in:
parent
3829b269ce
commit
a960d679d5
8 changed files with 44 additions and 5 deletions
|
|
@ -180,7 +180,8 @@ bool
|
|||
MP4Decoder::IsH264(const nsACString& aMimeType)
|
||||
{
|
||||
return aMimeType.EqualsLiteral("video/mp4") ||
|
||||
aMimeType.EqualsLiteral("video/avc");
|
||||
aMimeType.EqualsLiteral("video/avc") ||
|
||||
aMimeType.EqualsLiteral("video/webm; codecs=avc1");
|
||||
}
|
||||
|
||||
/* static */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue