mirror of
https://github.com/yattee/yattee.git
synced 2026-05-13 19:05:03 +00:00
Trim comments and hoist settings read in stream filtering
Drop comments restating what the code shows; hoist allowSoftwareDecodedFormats out of the recommendedVideoStreams filter closure so the bridge property is read once per render instead of once per stream.
This commit is contained in:
@@ -75,9 +75,6 @@ extension SettingsManager {
|
||||
}
|
||||
}
|
||||
|
||||
/// When enabled, the auto stream selector will consider video formats whose codec
|
||||
/// is not hardware-decodable on this device. Disabled by default. Useful on Apple TV
|
||||
/// where 4K VP9/AV1 is otherwise excluded from auto-selection.
|
||||
var allowSoftwareDecodedFormats: Bool {
|
||||
get {
|
||||
if let cached = _allowSoftwareDecodedFormats { return cached }
|
||||
|
||||
Reference in New Issue
Block a user