VAAPI/FFMPEG is Linux only (#2062)

* Store pinned tab triggering principal in sessionstore (#2050)

* Revert "Store pinned tab triggering principal in sessionstore (#2050)" (#2054)

This reverts commit 70873ebb11.

* VAAPI/FFMPEG is Linux only

VAAPI/FFMPEG is Linux only

Signed-off-by: Gun <footmenkingdom@gmail.com>

---------

Signed-off-by: Gun <footmenkingdom@gmail.com>
Co-authored-by: kristijanribaric <96492763+kristijanribaric@users.noreply.github.com>
Co-authored-by: mr. m  🤙 <91018726+mauro-balades@users.noreply.github.com>
This commit is contained in:
Gun
2024-10-13 14:57:35 +07:00
committed by GitHub
parent b87b9d3e26
commit 013d14d723

View File

@@ -221,11 +221,14 @@ pref("devtools.accessibility.enabled", false);
// Enable GPU by default
pref('gfx.webrender.all', true);
pref("gfx.canvas.accelerated", true);
pref("media.hardware-video-decoding.enabled", true);
// VAAPI/FFMPEG is Linux only
#ifdef XP_UNIX
pref('media.ffmpeg.vaapi.enabled', true);
pref('media.ffmpeg.encoder.enabled', true);
pref("media.hardware-video-decoding.enabled", true);
pref("gfx.canvas.accelerated", true);
#endif
// Fix buffering issues: Youtube, Archive bugzilla.mozilla.org/show_bug.cgi?id=1854077
pref("network.fetchpriority.enabled", true);