Bug 876099 - re-enable 3gp support in web content r=roc, a=gal

This commit is contained in:
Andreas Gal 2013-05-30 10:52:58 -07:00
parent 2c5d1b480c
commit 515187be5b

View File

@ -404,7 +404,7 @@ DecoderTraits::CreateDecoder(const nsACString& aType, MediaDecoderOwner* aOwner)
if (IsOmxSupportedType(aType)) {
// AMR audio is enabled for MMS, but we are discouraging Web and App
// developers from using AMR, thus we only allow AMR to be played on WebApps.
if (aType.EqualsASCII("audio/amr") || aType.EqualsASCII("video/3gpp")) {
if (aType.EqualsASCII("audio/amr")) {
HTMLMediaElement* element = aOwner->GetMediaElement();
if (!element) {
return nullptr;