aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Dlna/Profiles/Windows81Profile.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Dlna/Profiles/Windows81Profile.cs')
-rw-r--r--MediaBrowser.Dlna/Profiles/Windows81Profile.cs55
1 files changed, 39 insertions, 16 deletions
diff --git a/MediaBrowser.Dlna/Profiles/Windows81Profile.cs b/MediaBrowser.Dlna/Profiles/Windows81Profile.cs
index 1d3f5046cd..cf7790c525 100644
--- a/MediaBrowser.Dlna/Profiles/Windows81Profile.cs
+++ b/MediaBrowser.Dlna/Profiles/Windows81Profile.cs
@@ -22,7 +22,15 @@ namespace MediaBrowser.Dlna.Profiles
{
Container = "mp3",
AudioCodec = "mp3",
- Type = DlnaProfileType.Audio
+ Type = DlnaProfileType.Audio,
+ Context = EncodingContext.Streaming
+ },
+ new TranscodingProfile
+ {
+ Container = "mp3",
+ AudioCodec = "mp3",
+ Type = DlnaProfileType.Audio,
+ Context = EncodingContext.Static
},
new TranscodingProfile
{
@@ -101,6 +109,14 @@ namespace MediaBrowser.Dlna.Profiles
new DirectPlayProfile
{
+ Container = "m4a",
+ AudioCodec = "aac",
+ VideoCodec = "",
+ Type = DlnaProfileType.Audio
+ },
+
+ new DirectPlayProfile
+ {
Container = "jpeg",
Type = DlnaProfileType.Photo
}
@@ -111,21 +127,6 @@ namespace MediaBrowser.Dlna.Profiles
new CodecProfile
{
Type = CodecType.Video,
- Conditions = new []
- {
- new ProfileCondition
- {
- Condition = ProfileConditionType.LessThanEqual,
- Property = ProfileConditionValue.VideoBitDepth,
- Value = "8",
- IsRequired = false
- }
- }
- },
-
- new CodecProfile
- {
- Type = CodecType.Video,
Codec="h264",
Conditions = new []
{
@@ -148,6 +149,28 @@ namespace MediaBrowser.Dlna.Profiles
Condition = ProfileConditionType.LessThanEqual,
Property = ProfileConditionValue.VideoLevel,
Value = "51"
+ },
+ new ProfileCondition
+ {
+ Condition = ProfileConditionType.LessThanEqual,
+ Property = ProfileConditionValue.VideoBitDepth,
+ Value = "8",
+ IsRequired = false
+ }
+ }
+ },
+
+ new CodecProfile
+ {
+ Type = CodecType.Video,
+ Conditions = new []
+ {
+ new ProfileCondition
+ {
+ Condition = ProfileConditionType.LessThanEqual,
+ Property = ProfileConditionValue.VideoBitDepth,
+ Value = "8",
+ IsRequired = false
}
}
},