mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 876099 - re-enable 3gp support in web content r=roc, a=gal
This commit is contained in:
parent
2c5d1b480c
commit
515187be5b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user