diff options
| author | Piotr Niełacny <piotr.nielacny@gmail.com> | 2026-03-24 11:02:10 +0100 |
|---|---|---|
| committer | Piotr Niełacny <piotr.nielacny@gmail.com> | 2026-05-19 13:03:07 +0200 |
| commit | a15b426e73afb46d7337b98f8279e83847e20f2d (patch) | |
| tree | 3e6bcda57a84282533d56dfb4945c57fb2948831 /MediaBrowser.Server.Implementations/EntryPoints | |
| parent | 2a689f268bc88ee7ab7e25121a6d43f71c1f8a5f (diff) | |
Fix external subtitle stream mapping for multi-stream containers
Compute the in-file stream index for external subtitles instead of
hardcoding -map 1:0. For single-stream files (SRT/ASS/VTT) the index
is always 0, preserving existing behavior. For multi-stream containers
like MKS, the correct track is selected by counting sibling streams
that share the same Path.
Add unit tests for GetMapArgs covering internal subs, external SRT,
multiple external files, and multi-stream MKS containers.
Diffstat (limited to 'MediaBrowser.Server.Implementations/EntryPoints')
0 files changed, 0 insertions, 0 deletions
