aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Dlna/Profiles/DefaultProfile.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Dlna/Profiles/DefaultProfile.cs')
-rw-r--r--MediaBrowser.Dlna/Profiles/DefaultProfile.cs19
1 files changed, 18 insertions, 1 deletions
diff --git a/MediaBrowser.Dlna/Profiles/DefaultProfile.cs b/MediaBrowser.Dlna/Profiles/DefaultProfile.cs
index a1c6612753..710f02df2e 100644
--- a/MediaBrowser.Dlna/Profiles/DefaultProfile.cs
+++ b/MediaBrowser.Dlna/Profiles/DefaultProfile.cs
@@ -34,7 +34,6 @@ namespace MediaBrowser.Dlna.Profiles
Settings = new []
{
- new TranscodingSetting {Name = TranscodingSettingType.VideoLevel, Value = "3"},
new TranscodingSetting {Name = TranscodingSettingType.VideoProfile, Value = "baseline"}
}
}
@@ -54,6 +53,24 @@ namespace MediaBrowser.Dlna.Profiles
Type = DlnaProfileType.Video
}
};
+
+ CodecProfiles = new[]
+ {
+ new CodecProfile
+ {
+ Type = CodecType.VideoCodec,
+ Conditions = new []
+ {
+ new ProfileCondition
+ {
+ Condition = ProfileConditionType.LessThanEqual,
+ Property = ProfileConditionValue.VideoLevel,
+ Value = "3",
+ IsRequired = false
+ }
+ }
+ }
+ };
}
}
}