aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/MediaEncoding/BaseEncodingJobOptions.cs
diff options
context:
space:
mode:
authorPiotr Niełacny <piotr.nielacny@gmail.com>2026-03-24 11:02:10 +0100
committerPiotr Niełacny <piotr.nielacny@gmail.com>2026-05-19 13:03:07 +0200
commita15b426e73afb46d7337b98f8279e83847e20f2d (patch)
tree3e6bcda57a84282533d56dfb4945c57fb2948831 /MediaBrowser.Controller/MediaEncoding/BaseEncodingJobOptions.cs
parent2a689f268bc88ee7ab7e25121a6d43f71c1f8a5f (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.Controller/MediaEncoding/BaseEncodingJobOptions.cs')
0 files changed, 0 insertions, 0 deletions