Merge pull request #2907 from MediaBrowser/dev

fix application of params
pull/1154/head
Luke 7 years ago committed by GitHub
commit 0b72b3b1a7

@ -795,6 +795,8 @@ namespace MediaBrowser.Model.Dlna
if (applyConditions)
{
foreach (var transcodingVideoCodec in ContainerProfile.SplitValue(transcodingProfile.VideoCodec))
{
if (i.ContainsCodec(transcodingVideoCodec, transcodingProfile.Container))
{
ApplyTranscodingConditions(playlistItem, i.Conditions, transcodingVideoCodec, !isFirstAppliedCodecProfile);
isFirstAppliedCodecProfile = false;
@ -802,6 +804,7 @@ namespace MediaBrowser.Model.Dlna
}
}
}
}
var audioTranscodingConditions = new List<ProfileCondition>();
foreach (CodecProfile i in options.Profile.CodecProfiles)

Loading…
Cancel
Save