mod: def hwdec

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-24 10:50:51 +08:00
parent 92f02b5943
commit 0eee8bbac2

View File

@@ -176,8 +176,10 @@ class GStorage {
defaultValue: VideoDecodeFormats.values[1].code,
);
static String get hardwareDecoding =>
setting.get(SettingBoxKey.hardwareDecoding, defaultValue: 'auto');
static String get hardwareDecoding => setting.get(
SettingBoxKey.hardwareDecoding,
defaultValue: Platform.isAndroid ? 'auto-safe' : 'auto',
);
static String get videoSync => setting.get(
SettingBoxKey.videoSync,