fix VideoAudio conditions in StreamBuilder

This commit is contained in:
Luke Pulverenti 2015-12-22 15:09:48 -05:00
parent afbce667bf
commit f7ed2cb60d

View File

@ -445,7 +445,7 @@ namespace MediaBrowser.Model.Dlna
List<ProfileCondition> audioTranscodingConditions = new List<ProfileCondition>();
foreach (CodecProfile i in options.Profile.CodecProfiles)
{
if (i.Type == CodecType.VideoAudio && i.ContainsCodec(transcodingProfile.AudioCodec, transcodingProfile.Container))
if (i.Type == CodecType.VideoAudio && i.ContainsCodec(playlistItem.AudioCodec, transcodingProfile.Container))
{
foreach (ProfileCondition c in i.Conditions)
{