mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
Make matroska mime type checking more consistent.
This commit is contained in:
parent
a960d679d5
commit
68c810a1ac
4 changed files with 10 additions and 5 deletions
|
|
@ -697,7 +697,7 @@ ContainerParser::CreateForMIMEType(const nsACString& aType)
|
|||
if (aType.LowerCaseEqualsLiteral("video/webm") || aType.LowerCaseEqualsLiteral("audio/webm")) {
|
||||
return new WebMContainerParser(aType);
|
||||
}
|
||||
if (aType.LowerCaseEqualsLiteral("video/x-matroska")) {
|
||||
if (aType.LowerCaseEqualsLiteral("video/x-matroska") || aType.LowerCaseEqualsLiteral("audio/x-matroska")) {
|
||||
return new WebMContainerParser(aType);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue