Fix remuxing

This commit is contained in:
Dmitry Lyzo 2022-03-12 21:07:06 +03:00
parent 1fe82d0deb
commit e4137a6279

View File

@ -699,7 +699,11 @@ namespace MediaBrowser.Model.Dlna
if (playlistItem.PlayMethod != PlayMethod.DirectPlay) if (playlistItem.PlayMethod != PlayMethod.DirectPlay)
{ {
playlistItem.PlayMethod = PlayMethod.Transcode; playlistItem.PlayMethod = PlayMethod.Transcode;
ApplyTranscodingConditions(playlistItem, transcodingProfile.Conditions, null, true, true);
if ((playlistItem.TranscodeReasons & (VideoReasons | TranscodeReason.ContainerBitrateExceedsLimit)) != 0)
{
ApplyTranscodingConditions(playlistItem, transcodingProfile.Conditions, null, true, true);
}
} }
} }
} }