Skip to content

fix: video not loading when external subtitles are malformed#4822

Merged
moskalakamil merged 1 commit intoTheWidlarzGroup:masterfrom
moskalakamil:fix/external-subtitle-loading
Jan 21, 2026
Merged

fix: video not loading when external subtitles are malformed#4822
moskalakamil merged 1 commit intoTheWidlarzGroup:masterfrom
moskalakamil:fix/external-subtitle-loading

Conversation

@moskalakamil
Copy link
Copy Markdown
Collaborator

@moskalakamil moskalakamil commented Jan 21, 2026

Fixes an issue where video playback failed in release mode when external subtitles were malformed (e.g. end time earlier than start time). AVPlayer is unable to parse this, causing playback to stop. The fix catches the AVFoundation error and gracefully falls back to playing the video without external subtitles instead of blocking playback

@moskalakamil moskalakamil merged commit 86133e3 into TheWidlarzGroup:master Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants