19 lines
835 B
Diff
19 lines
835 B
Diff
diff -up firefox-103.0/gfx/thebes/gfxPlatformGtk.cpp.enable-vaapi firefox-103.0/gfx/thebes/gfxPlatformGtk.cpp
|
|
--- firefox-103.0/gfx/thebes/gfxPlatformGtk.cpp.enable-vaapi 2022-07-18 20:44:04.000000000 +0200
|
|
+++ firefox-103.0/gfx/thebes/gfxPlatformGtk.cpp 2022-08-04 11:41:18.109583874 +0200
|
|
@@ -232,13 +232,8 @@ void gfxPlatformGtk::InitDmabufConfig()
|
|
void gfxPlatformGtk::InitVAAPIConfig() {
|
|
FeatureState& feature = gfxConfig::GetFeature(Feature::VAAPI);
|
|
#ifdef MOZ_WAYLAND
|
|
-# ifdef NIGHTLY_BUILD
|
|
feature.EnableByDefault();
|
|
-# else
|
|
- feature.DisableByDefault(FeatureStatus::Disabled,
|
|
- "VAAPI is disabled by default",
|
|
- "FEATURE_VAAPI_DISABLED"_ns);
|
|
-# endif
|
|
+
|
|
nsCString failureId;
|
|
int32_t status;
|
|
nsCOMPtr<nsIGfxInfo> gfxInfo = components::GfxInfo::Service();
|