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

@@ -251,7 +251,7 @@ List<SettingsModel> get videoSettings => [
title: '默认解码格式',
value: Pref.defaultDecode,
values: VideoDecodeFormatType.values
.map((e) => (e.code, e.description))
.map((e) => (e.codes.first, e.description))
.toList(),
);
},
@@ -276,7 +276,7 @@ List<SettingsModel> get videoSettings => [
title: '次选解码格式',
value: Pref.secondDecode,
values: VideoDecodeFormatType.values
.map((e) => (e.code, e.description))
.map((e) => (e.codes.first, e.description))
.toList(),
);
},