mirror of
https://github.com/yattee/yattee.git
synced 2026-06-27 09:04:19 +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:
@@ -71,8 +71,6 @@ struct QualitySelectorView: View {
|
||||
appEnvironment?.settingsManager.showAdvancedStreamDetails ?? false
|
||||
}
|
||||
|
||||
/// Whether the user has opted in to software-decoded formats during auto-selection.
|
||||
/// When enabled, software-decoded streams are treated as recommended (no split).
|
||||
var allowSoftwareDecodedFormats: Bool {
|
||||
appEnvironment?.settingsManager.allowSoftwareDecodedFormats ?? false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user