Enable Widevine on all Linux archs (#21040)
On Arm64 Linux, Widevine is not available via component updates. But distributions such as Raspberry Pi OS ship it. So users have ways of obtaining the library. This commit makes the browser attempt to load Widevine on non-x64 Linux architectures (and thus on Arm64). Users can then install it manually to see DRM-protected content.
This commit is contained in:
@@ -80,6 +80,9 @@ void RegisterWidevineLocalstatePrefs(PrefRegistrySimple* registry) {
|
||||
}
|
||||
|
||||
bool IsWidevineEnabled() {
|
||||
// N.B.: As of this writing, kWidevineEnabled is also queried in other places.
|
||||
// If you want to change the logic for enabling Widevine, then you need to
|
||||
// change those other places as well.
|
||||
return g_browser_process->local_state()->GetBoolean(kWidevineEnabled);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user