diff options
Diffstat (limited to 'MediaBrowser.Dlna/Profiles/Windows81Profile.cs')
| -rw-r--r-- | MediaBrowser.Dlna/Profiles/Windows81Profile.cs | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/MediaBrowser.Dlna/Profiles/Windows81Profile.cs b/MediaBrowser.Dlna/Profiles/Windows81Profile.cs index f901e1307d..0371d0d16c 100644 --- a/MediaBrowser.Dlna/Profiles/Windows81Profile.cs +++ b/MediaBrowser.Dlna/Profiles/Windows81Profile.cs @@ -1,6 +1,6 @@ using MediaBrowser.Model.Dlna; -using System.Xml.Serialization; using MediaBrowser.Model.Dlna.Profiles; +using System.Xml.Serialization; namespace MediaBrowser.Dlna.Profiles { @@ -31,7 +31,6 @@ namespace MediaBrowser.Dlna.Profiles VideoCodec = "h264", AudioCodec = "aac", Type = DlnaProfileType.Video, - VideoProfile = "Baseline", Context = EncodingContext.Streaming }, new TranscodingProfile @@ -40,7 +39,6 @@ namespace MediaBrowser.Dlna.Profiles VideoCodec = "h264", AudioCodec = "aac", Type = DlnaProfileType.Video, - VideoProfile = "Baseline", Context = EncodingContext.Streaming }, new TranscodingProfile @@ -127,6 +125,29 @@ namespace MediaBrowser.Dlna.Profiles new CodecProfile { + Type = CodecType.Video, + Codec="h264", + Conditions = new [] + { + + // Note: Add any of the following if supported + + //"Constrained Baseline", + //"Baseline", + //"Extended", + //"Main", + //"High", + //"Progressive High", + //"Constrained High" + + // The first one in the list should be the higest one, e.g. if High profile is supported, make sure it appears before baseline: high|baseline + + new ProfileCondition(ProfileConditionType.EqualsAny, ProfileConditionValue.VideoProfile, "baseline|constrained baseline") + } + }, + + new CodecProfile + { Type = CodecType.VideoAudio, Codec = "aac,eac3", Conditions = new [] |
