Add option to always burn in subtitles if transcoding is triggered (#12430)

This commit is contained in:
gnattu
2024-09-12 23:53:21 +08:00
committed by GitHub
parent 0ff7f28753
commit 62712aa12c
9 changed files with 49 additions and 8 deletions

View File

@@ -13,6 +13,7 @@ namespace MediaBrowser.Model.MediaInfo
{
EnableDirectPlay = true;
EnableDirectStream = true;
AlwaysBurnInSubtitleWhenTranscoding = false;
DirectPlayProtocols = new MediaProtocol[] { MediaProtocol.Http };
}
@@ -40,6 +41,8 @@ namespace MediaBrowser.Model.MediaInfo
public bool EnableDirectStream { get; set; }
public bool AlwaysBurnInSubtitleWhenTranscoding { get; set; }
public IReadOnlyList<MediaProtocol> DirectPlayProtocols { get; set; }
}
}