Files
yattee/Shared
Arkadiusz Fal 4b577a296b Fix array index out of bounds crash in audio track handling
This commit addresses crashes caused by race conditions when accessing audio track arrays:

- MPVBackend.swift: Use safe index clamping to prevent array out of bounds crashes when selecting audio tracks
- PlayerModel.swift: Add selectedAudioTrack computed property for thread-safe audio track access
- ControlsOverlay.swift: Use safe accessor with "Original" fallback label
- PlaybackSettings.swift: Use safe accessor with "Original" fallback label

This fix resolves approximately 37% of crashes (23 out of 62 crash logs) that were caused by index out of range errors in MPVBackend.playStream at line 345.
2025-11-19 18:01:02 +01:00
..
2024-09-10 09:38:14 +02:00
2024-05-16 19:35:31 +02:00
2024-05-16 19:35:31 +02:00
2024-05-16 19:35:31 +02:00
2022-10-27 18:03:57 +02:00
2024-05-16 19:35:31 +02:00
2024-05-16 19:35:31 +02:00
2025-11-07 13:35:07 +01:00
2024-05-16 19:35:31 +02:00
2024-05-16 19:35:31 +02:00
2024-11-08 14:04:16 +00:00
2024-05-16 19:35:31 +02:00
2024-05-16 19:35:31 +02:00
2024-02-02 11:06:32 +01:00
2023-05-25 18:36:03 +02:00
2022-12-04 13:32:26 +01:00
2024-05-16 19:05:00 +02:00
2024-08-18 14:46:51 +02:00