mirror of https://github.com/jellyfin/jellyfin.git
fix application of params
This commit is contained in:
parent
c25db09e37
commit
f3120dbee9
|
@ -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