summaryrefslogtreecommitdiffstats
path: root/dom/media/fmp4/MP4Decoder.cpp
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@wolfbeast.com>2018-11-24 15:24:12 +0100
committerGitHub <noreply@github.com>2018-11-24 15:24:12 +0100
commit083c6b7b99107f5f107b3c86487d13d04184afac (patch)
tree76c3de38a9e8889be44d3cf3a9fa337b3bcc75ef /dom/media/fmp4/MP4Decoder.cpp
parentb37e8f87c45a9926e1336ad02a86e36b1a875109 (diff)
parent4c8c14a712515bc867d6fbfdb9366b976c5904f5 (diff)
downloadUXP-083c6b7b99107f5f107b3c86487d13d04184afac.tar
UXP-083c6b7b99107f5f107b3c86487d13d04184afac.tar.gz
UXP-083c6b7b99107f5f107b3c86487d13d04184afac.tar.lz
UXP-083c6b7b99107f5f107b3c86487d13d04184afac.tar.xz
UXP-083c6b7b99107f5f107b3c86487d13d04184afac.zip
Merge pull request #879 from trav90/code-cleanup
Remove leftover gonk bits in /dom/media
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");