зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
1c07029298
Коммит
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() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче