diff options
author | Jeroen Vreeken <jeroen@vreeken.net> | 2019-07-10 11:05:38 +0200 |
---|---|---|
committer | Jeroen Vreeken <jeroen@vreeken.net> | 2019-07-10 11:08:09 +0200 |
commit | 18f9b185b67120ba88f5e643b7413ca06c497383 (patch) | |
tree | e07ea39a12a7d6b1e0b7c88cdaf2764ae2ba6836 /dom/media/fmp4 | |
parent | dd924323c3cda022493cd78d42da190577be20cf (diff) | |
download | UXP-18f9b185b67120ba88f5e643b7413ca06c497383.tar UXP-18f9b185b67120ba88f5e643b7413ca06c497383.tar.gz UXP-18f9b185b67120ba88f5e643b7413ca06c497383.tar.lz UXP-18f9b185b67120ba88f5e643b7413ca06c497383.tar.xz UXP-18f9b185b67120ba88f5e643b7413ca06c497383.zip |
Allow matroska mime types for video element and MSE
Allow avc (h.264) content in matroska/webm containers
Diffstat (limited to 'dom/media/fmp4')
-rw-r--r-- | dom/media/fmp4/MP4Decoder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/media/fmp4/MP4Decoder.cpp b/dom/media/fmp4/MP4Decoder.cpp index 6954e9757..b293c251b 100644 --- a/dom/media/fmp4/MP4Decoder.cpp +++ b/dom/media/fmp4/MP4Decoder.cpp @@ -172,7 +172,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 */ |