mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1767582 - Enable Utility AudioDecoder on Nightly r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D145584
This commit is contained in:
parent
b7752f4699
commit
6330ec5e08
@ -8,9 +8,13 @@ async function runTest(expectUtility) {
|
||||
`Running tests with decoding from Utility or RDD: expectUtility=${expectUtility}`
|
||||
);
|
||||
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["media.utility-process.enabled", expectUtility]],
|
||||
});
|
||||
// Utility should now be the default, so dont toggle the pref unless we test
|
||||
// RDD
|
||||
if (!expectUtility) {
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["media.utility-process.enabled", expectUtility]],
|
||||
});
|
||||
}
|
||||
|
||||
for (let src of [
|
||||
"small-shot.ogg",
|
||||
|
@ -8909,9 +8909,21 @@
|
||||
# using the IPC actor within the Utility process rather than the RDD process.
|
||||
# When it is set to true, then the utility process will take precedence over RDD
|
||||
# to perform audio decoding.
|
||||
# TODO: Android: Bug 1767930
|
||||
# TODO: OpenBSD: Bug 1769033
|
||||
- name: media.utility-process.enabled
|
||||
type: RelaxedAtomicBool
|
||||
#if defined(XP_WIN)
|
||||
value: true
|
||||
#elif defined(XP_MACOSX)
|
||||
value: true
|
||||
#elif defined(XP_LINUX) && !defined(ANDROID)
|
||||
value: true
|
||||
#elif defined(XP_OPENBSD)
|
||||
value: false
|
||||
#else
|
||||
value: false
|
||||
#endif
|
||||
mirror: always
|
||||
|
||||
#ifdef MOZ_FFMPEG
|
||||
|
Loading…
Reference in New Issue
Block a user