Merge pull request #2907 from MediaBrowser/dev
fix application of params
This commit is contained in:
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…
Reference in New Issue
Block a user