Commit 56ffc7c
chore(release): prep 4.4.0 — first-frame subtitle by language preference (#73)
New LoadOptions.preferredSubtitleLanguages lets the engine activate the first subtitle
track whose language matches an ordered preference at the end of a successful load,
mirroring the audio twin (preferredAudioLanguages, #72). No match leaves subtitles off;
the host-overlay path is used, the resolved track is published via the new
activeSubtitleTrackIndex, and the side demuxer is anchored at the resume position.
Additive and default-empty: a behavioral no-op until a host opts in. The audio half of
#73 already shipped in 4.3.0.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B4hBXf5yHPUNxQsDavBKGk1 parent 92a3bc6 commit 56ffc7c
2 files changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | | - | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
0 commit comments