mirror of
https://github.com/yattee/yattee.git
synced 2026-06-04 22:04:19 +00:00
Add Allow Software-Decoded Formats playback setting
Lets the auto stream selector pick formats whose codec isn't hardware decoded on the current device. Defaults off; when on, 4K VP9/AV1 can be auto-selected on Apple TV models without those decoders. Software-decoded streams also move into the Recommended section so the selection stays visible without enabling advanced stream details.
This commit is contained in:
@@ -25,6 +25,7 @@ enum SettingsKey: String, CaseIterable {
|
||||
case preferredSubtitlesLanguage
|
||||
case resumeAction
|
||||
case tvOSMenuButtonClosesVideo
|
||||
case allowSoftwareDecodedFormats
|
||||
|
||||
// SponsorBlock
|
||||
case sponsorBlockEnabled
|
||||
@@ -129,7 +130,7 @@ enum SettingsKey: String, CaseIterable {
|
||||
/// in both UserDefaults and iCloud, so each platform family syncs independently.
|
||||
var isPlatformSpecific: Bool {
|
||||
switch self {
|
||||
case .preferredQuality, .cellularQuality, .macPlayerMode, .listStyle,
|
||||
case .preferredQuality, .cellularQuality, .allowSoftwareDecodedFormats, .macPlayerMode, .listStyle,
|
||||
// Home layout — different UI paradigms per platform
|
||||
.homeShortcutOrder, .homeShortcutVisibility, .homeShortcutLayout,
|
||||
.homeSectionOrder, .homeSectionVisibility, .homeSectionItemsLimit, .homeSectionLayout,
|
||||
|
||||
Reference in New Issue
Block a user