Merge pull request #2907 from MediaBrowser/dev
fix application of params
This commit is contained in:
commit
0b72b3b1a7
|
@ -796,8 +796,11 @@ namespace MediaBrowser.Model.Dlna
|
|||
{
|
||||
foreach (var transcodingVideoCodec in ContainerProfile.SplitValue(transcodingProfile.VideoCodec))
|
||||
{
|
||||
ApplyTranscodingConditions(playlistItem, i.Conditions, transcodingVideoCodec, !isFirstAppliedCodecProfile);
|
||||
isFirstAppliedCodecProfile = false;
|
||||
if (i.ContainsCodec(transcodingVideoCodec, transcodingProfile.Container))
|
||||
{
|
||||
ApplyTranscodingConditions(playlistItem, i.Conditions, transcodingVideoCodec, !isFirstAppliedCodecProfile);
|
||||
isFirstAppliedCodecProfile = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user