mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #1977 - Follow-up: Correct pref check to be selective on wave formats only.
This commit is contained in:
parent
5abfd892af
commit
d2276a48d2
1 changed files with 2 additions and 1 deletions
|
|
@ -285,7 +285,8 @@ bool DecoderTraits::ShouldHandleMediaType(const char* aMIMEType,
|
|||
// behavior, where they use their helper apps to open WAV audio
|
||||
// instead. We should allow this old behavior behind a pref for
|
||||
// those who want it.
|
||||
if (!Preferences::GetBool("media.wave.play-stand-alone", true)) {
|
||||
if (!Preferences::GetBool("media.wave.play-stand-alone", true) &&
|
||||
IsWaveSupportedType(nsDependentCString(aMIMEType))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue