Bug 1248496 - Enable D3D11 DXVA. r=ajones

This commit is contained in:
Matt Woodrow 2016-02-18 14:32:59 +13:00
parent 2d1a6c9bab
commit ed0dfc6e9e
2 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,7 @@ public:
NS_IMETHOD Run() {
NS_ASSERTION(NS_IsMainThread(), "Must be on main thread.");
if (mBackend == LayersBackend::LAYERS_D3D11 &&
Preferences::GetBool("media.windows-media-foundation.allow-d3d11-dxva", false) &&
Preferences::GetBool("media.windows-media-foundation.allow-d3d11-dxva", true) &&
IsWin8OrLater()) {
mDXVA2Manager = DXVA2Manager::CreateD3D11DXVA(mFailureReason);
} else {

View File

@ -329,6 +329,7 @@ pref("media.wmf.enabled", true);
pref("media.wmf.decoder.thread-count", -1);
pref("media.wmf.low-latency.enabled", false);
pref("media.wmf.skip-blacklist", false);
pref("media.windows-media-foundation.allow-d3d11-dxva", true);
#endif
#if defined(MOZ_FFMPEG)
#if defined(XP_MACOSX)