summaryrefslogtreecommitdiffstats
path: root/dom/media/fmp4/MP4Decoder.cpp
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2018-11-21 08:44:16 -0600
committertrav90 <travawine@palemoon.org>2018-11-21 08:44:16 -0600
commit513bf1b6832ed056241bbc376537c55c2d3a987e (patch)
treec81e117b4b60b72b8ad1580ba92d49a0e5c843aa /dom/media/fmp4/MP4Decoder.cpp
parent6a9c2be4eac174c1b44ffb0ff16fd32fca92aa18 (diff)
downloadUXP-513bf1b6832ed056241bbc376537c55c2d3a987e.tar
UXP-513bf1b6832ed056241bbc376537c55c2d3a987e.tar.gz
UXP-513bf1b6832ed056241bbc376537c55c2d3a987e.tar.lz
UXP-513bf1b6832ed056241bbc376537c55c2d3a987e.tar.xz
UXP-513bf1b6832ed056241bbc376537c55c2d3a987e.zip
Remove remaining MOZ_GONK_MEDIACODEC code
Diffstat (limited to 'dom/media/fmp4/MP4Decoder.cpp')
-rw-r--r--dom/media/fmp4/MP4Decoder.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/dom/media/fmp4/MP4Decoder.cpp b/dom/media/fmp4/MP4Decoder.cpp
index 25dd53f94..6954e9757 100644
--- a/dom/media/fmp4/MP4Decoder.cpp
+++ b/dom/media/fmp4/MP4Decoder.cpp
@@ -83,10 +83,6 @@ MP4Decoder::CanHandleMediaType(const MediaContentType& aType,
const bool isMP4Audio = aType.GetMIMEType().EqualsASCII("audio/mp4") ||
aType.GetMIMEType().EqualsASCII("audio/x-m4a");
const bool isMP4Video =
- // On B2G, treat 3GPP as MP4 when Gonk PDM is available.
-#ifdef MOZ_GONK_MEDIACODEC
- aType.GetMIMEType().EqualsASCII(VIDEO_3GPP) ||
-#endif
aType.GetMIMEType().EqualsASCII("video/mp4") ||
aType.GetMIMEType().EqualsASCII("video/quicktime") ||
aType.GetMIMEType().EqualsASCII("video/x-m4v");