Force transcode/remux for DVDs and BDs

This commit is contained in:
Shadowghost 2023-02-04 21:39:52 +01:00
parent f2b7f664aa
commit 979964ef4b

View File

@ -635,6 +635,13 @@ namespace MediaBrowser.Model.Dlna
var isEligibleForDirectStream = options.EnableDirectStream && (options.ForceDirectStream || !bitrateLimitExceeded);
TranscodeReason transcodeReasons = 0;
// Force transcode or remux for BD/DVD folders
if (item.VideoType == VideoType.Dvd || item.VideoType == VideoType.BluRay)
{
isEligibleForDirectPlay = false;
isEligibleForDirectStream = false;
}
if (bitrateLimitExceeded)
{
transcodeReasons = TranscodeReason.ContainerBitrateExceedsLimit;