mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1248496 - Enable D3D11 DXVA. r=ajones
This commit is contained in:
parent
2d1a6c9bab
commit
ed0dfc6e9e
@ -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 {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user