summaryrefslogtreecommitdiffstats
path: root/dom/media/mediasource/TrackBuffersManager.cpp
diff options
context:
space:
mode:
authorJeroen Vreeken <jeroen@vreeken.net>2019-07-11 16:36:22 +0200
committerJeroen Vreeken <jeroen@vreeken.net>2019-07-11 16:36:22 +0200
commit31addeaac8841867008699478ef55e1c1b3d68a7 (patch)
treecd580c19b66ce62987ece8df5d2ba7384c329502 /dom/media/mediasource/TrackBuffersManager.cpp
parent18f9b185b67120ba88f5e643b7413ca06c497383 (diff)
downloadUXP-31addeaac8841867008699478ef55e1c1b3d68a7.tar
UXP-31addeaac8841867008699478ef55e1c1b3d68a7.tar.gz
UXP-31addeaac8841867008699478ef55e1c1b3d68a7.tar.lz
UXP-31addeaac8841867008699478ef55e1c1b3d68a7.tar.xz
UXP-31addeaac8841867008699478ef55e1c1b3d68a7.zip
Make matroska mime type checking more consistent.
Diffstat (limited to 'dom/media/mediasource/TrackBuffersManager.cpp')
-rw-r--r--dom/media/mediasource/TrackBuffersManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/media/mediasource/TrackBuffersManager.cpp b/dom/media/mediasource/TrackBuffersManager.cpp
index 3a6f2a5c8..21fb158b5 100644
--- a/dom/media/mediasource/TrackBuffersManager.cpp
+++ b/dom/media/mediasource/TrackBuffersManager.cpp
@@ -815,6 +815,7 @@ TrackBuffersManager::CreateDemuxerforMIMEType()
if (mType.LowerCaseEqualsLiteral("video/webm") ||
mType.LowerCaseEqualsLiteral("video/x-matroska") ||
+ mType.LowerCaseEqualsLiteral("audio/x-matroska") ||
mType.LowerCaseEqualsLiteral("audio/webm")) {
mInputDemuxer = new WebMDemuxer(mCurrentInputBuffer, true /* IsMediaSource*/ );
return;