mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-19 20:09:03 -07:00
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)
|
if (applyConditions)
|
||||||
{
|
{
|
||||||
foreach (var transcodingVideoCodec in ContainerProfile.SplitValue(transcodingProfile.VideoCodec))
|
foreach (var transcodingVideoCodec in ContainerProfile.SplitValue(transcodingProfile.VideoCodec))
|
||||||
|
{
|
||||||
|
if (i.ContainsCodec(transcodingVideoCodec, transcodingProfile.Container))
|
||||||
{
|
{
|
||||||
ApplyTranscodingConditions(playlistItem, i.Conditions, transcodingVideoCodec, !isFirstAppliedCodecProfile);
|
ApplyTranscodingConditions(playlistItem, i.Conditions, transcodingVideoCodec, !isFirstAppliedCodecProfile);
|
||||||
isFirstAppliedCodecProfile = false;
|
isFirstAppliedCodecProfile = false;
|
||||||
@ -802,6 +804,7 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var audioTranscodingConditions = new List<ProfileCondition>();
|
var audioTranscodingConditions = new List<ProfileCondition>();
|
||||||
foreach (CodecProfile i in options.Profile.CodecProfiles)
|
foreach (CodecProfile i in options.Profile.CodecProfiles)
|
||||||
|
Loading…
Reference in New Issue
Block a user