fix dolby videos playing (#1202)

This commit is contained in:
Kofua
2025-09-07 11:35:12 +08:00
committed by GitHub
parent e02835ddc4
commit d285f00086
5 changed files with 36 additions and 23 deletions

View File

@@ -218,12 +218,12 @@ abstract class Pref {
static String get defaultDecode => _setting.get(
SettingBoxKey.defaultDecode,
defaultValue: VideoDecodeFormatType.values.last.code,
defaultValue: VideoDecodeFormatType.values.last.codes.first,
);
static String get secondDecode => _setting.get(
SettingBoxKey.secondDecode,
defaultValue: VideoDecodeFormatType.AV1.code,
defaultValue: VideoDecodeFormatType.AV1.codes.first,
);
static String get hardwareDecoding => _setting.get(