mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 09:37:52 +08:00
mod: def hwdec
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -176,8 +176,10 @@ class GStorage {
|
|||||||
defaultValue: VideoDecodeFormats.values[1].code,
|
defaultValue: VideoDecodeFormats.values[1].code,
|
||||||
);
|
);
|
||||||
|
|
||||||
static String get hardwareDecoding =>
|
static String get hardwareDecoding => setting.get(
|
||||||
setting.get(SettingBoxKey.hardwareDecoding, defaultValue: 'auto');
|
SettingBoxKey.hardwareDecoding,
|
||||||
|
defaultValue: Platform.isAndroid ? 'auto-safe' : 'auto',
|
||||||
|
);
|
||||||
|
|
||||||
static String get videoSync => setting.get(
|
static String get videoSync => setting.get(
|
||||||
SettingBoxKey.videoSync,
|
SettingBoxKey.videoSync,
|
||||||
|
|||||||
Reference in New Issue
Block a user