mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 1619523 [Linux] Remove Wayland check at gfxPlatformGtk::UseDMABufVideoTextures(), make VA-API decoding possible on X11 r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D82183
This commit is contained in:
parent
1c07029298
commit
533d0807f0
@ -727,8 +727,7 @@ bool gfxPlatformGtk::UseDMABufTextures() {
|
||||
return IsWaylandDisplay() && GetDMABufDevice()->IsDMABufTexturesEnabled();
|
||||
}
|
||||
bool gfxPlatformGtk::UseDMABufVideoTextures() {
|
||||
return IsWaylandDisplay() &&
|
||||
(GetDMABufDevice()->IsDMABufVideoTexturesEnabled() ||
|
||||
return (GetDMABufDevice()->IsDMABufVideoTexturesEnabled() ||
|
||||
StaticPrefs::media_ffmpeg_vaapi_enabled());
|
||||
}
|
||||
bool gfxPlatformGtk::UseHardwareVideoDecoding() {
|
||||
|
Loading…
Reference in New Issue
Block a user