feat(android): display switch delay

close #894
This commit is contained in:
edde746
2026-04-20 17:34:54 +02:00
parent 6d265e7bae
commit 1fd415ae31
14 changed files with 335 additions and 91 deletions
@@ -124,7 +124,9 @@ class _PlaybackSettingsScreenState extends State<PlaybackSettingsScreen> {
if (Platform.isAndroid) _buildMatchContentFrameRate(),
if (Platform.isWindows) _buildMatchRefreshRate(),
if (Platform.isWindows) _buildMatchDynamicRange(),
if (Platform.isWindows && (_matchRefreshRate || _matchDynamicRange)) _buildDisplaySwitchDelay(),
if ((Platform.isWindows && (_matchRefreshRate || _matchDynamicRange)) ||
(Platform.isAndroid && _matchContentFrameRate))
_buildDisplaySwitchDelay(),
if (Platform.isAndroid && _useExoPlayer) _buildTunneledPlayback(),
_buildBufferSizeSelector(),