make video enhanced rendering opt-out

This commit is contained in:
Tommy Chow 2026-01-02 16:05:44 -05:00
parent 0bdf9ab290
commit 69a7bcba92
3 changed files with 3 additions and 3 deletions

View file

@ -64,7 +64,7 @@ abstract class _SettingsStoreBase with Store {
// Player defaults
static const defaultShowVideo = true;
static const defaultDefaultToHighestQuality = false;
static const defaultUseEnhancedRendering = false;
static const defaultUseEnhancedRendering = true;
// Overlay defaults
static const defaultShowOverlay = true;

View file

@ -22,7 +22,7 @@ SettingsStore _$SettingsStoreFromJson(
..launchUrlExternal = json['launchUrlExternal'] as bool? ?? false
..showVideo = json['showVideo'] as bool? ?? true
..defaultToHighestQuality = json['defaultToHighestQuality'] as bool? ?? false
..useEnhancedRendering = json['useEnhancedRendering'] as bool? ?? false
..useEnhancedRendering = json['useEnhancedRendering'] as bool? ?? true
..showOverlay = json['showOverlay'] as bool? ?? true
..toggleableOverlay = json['toggleableOverlay'] as bool? ?? false
..showLatency = json['showLatency'] as bool? ?? true

View file

@ -35,7 +35,7 @@ class VideoSettings extends StatelessWidget {
SettingsListSwitch(
title: 'Use enhanced rendering',
subtitle: const Text(
'Enables a newer WebView rendering method that improves performance. May cause random crashes on some devices.',
'Uses a faster WebView rendering method. Disable if you experience crashes while watching streams.',
),
value: settingsStore.useEnhancedRendering,
onChanged: (newValue) =>