mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-06 10:06:11 +01:00
Backport pull request #15502 from jellyfin/release-10.11.z
Fix font extraction for certain transcoding settings
Original-merge: ee34c75386
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
parent
5b3f29946b
commit
8fa36a38e2
1 changed files with 1 additions and 1 deletions
|
|
@ -396,7 +396,7 @@ public sealed class TranscodeManager : ITranscodeManager, IDisposable
|
|||
ArgumentException.ThrowIfNullOrEmpty(_mediaEncoder.EncoderPath);
|
||||
|
||||
// If subtitles get burned in fonts may need to be extracted from the media file
|
||||
if (state.SubtitleStream is not null && state.SubtitleDeliveryMethod == SubtitleDeliveryMethod.Encode)
|
||||
if (state.SubtitleStream is not null && (state.SubtitleDeliveryMethod == SubtitleDeliveryMethod.Encode || state.BaseRequest.AlwaysBurnInSubtitleWhenTranscoding))
|
||||
{
|
||||
if (state.MediaSource.VideoType == VideoType.Dvd || state.MediaSource.VideoType == VideoType.BluRay)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue