mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #12676] [MERGED] Let HLS Controller decide if subtitle should be burn in #13315
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/12676
Author: @gnattu
Created: 9/21/2024
Status: ✅ Merged
Merged: 9/22/2024
Merged by: @crobibero
Base:
master← Head:rework-burnin-during-transcoding📝 Commits (4)
d944f41Let HLS Controller decide if subtitle should be burn inc3e889cConditionally add burn in option for remote source1346ebcDon't add subtitle option to audio endpoint4502024Remove all subtitle options from audio endpoints📊 Changes
6 files changed (+75 additions, -50 deletions)
View changed files
📝
Jellyfin.Api/Controllers/DynamicHlsController.cs(+33 -18)📝
Jellyfin.Api/Helpers/MediaInfoHelper.cs(+9 -0)📝
MediaBrowser.Controller/MediaEncoding/BaseEncodingJobOptions.cs(+2 -0)📝
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs(+22 -16)📝
MediaBrowser.Model/Dlna/StreamBuilder.cs(+3 -15)📝
MediaBrowser.Model/Dlna/StreamInfo.cs(+6 -1)📄 Description
Previously, we predicted whether the subtitle should be burned in with transcode reasons, but that was not accurate because the actual transcoding codec is only determined after the client has requested the stream. This pass through the option to the
DynamicHlsControllerto handle the subtitle burn-in during the actual transcoding process. Now the client should be responsible to conditionally load the subtitle when this option is enabled.Changes
Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.