diff options
Diffstat (limited to 'MediaBrowser.Model/Dlna/Profiles/AndroidProfile.cs')
| -rw-r--r-- | MediaBrowser.Model/Dlna/Profiles/AndroidProfile.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Dlna/Profiles/AndroidProfile.cs b/MediaBrowser.Model/Dlna/Profiles/AndroidProfile.cs index dfe14f1c74..0d060cda85 100644 --- a/MediaBrowser.Model/Dlna/Profiles/AndroidProfile.cs +++ b/MediaBrowser.Model/Dlna/Profiles/AndroidProfile.cs @@ -6,7 +6,9 @@ namespace MediaBrowser.Model.Dlna.Profiles [XmlRoot("Profile")] public class AndroidProfile : DefaultProfile { - public AndroidProfile(bool supportsHls, bool supportsMpegDash) + public AndroidProfile(bool supportsHls, + bool supportsMpegDash, + string[] supportedH264Profiles) { Name = "Android"; @@ -102,7 +104,7 @@ namespace MediaBrowser.Model.Dlna.Profiles Conditions = new [] { - new ProfileCondition(ProfileConditionType.EqualsAny, ProfileConditionValue.VideoProfile, "baseline|constrained baseline"), + new ProfileCondition(ProfileConditionType.EqualsAny, ProfileConditionValue.VideoProfile, string.Join("|", supportedH264Profiles)), new ProfileCondition(ProfileConditionType.LessThanEqual, ProfileConditionValue.Width, "1920"), new ProfileCondition(ProfileConditionType.LessThanEqual, ProfileConditionValue.Height, "1080"), new ProfileCondition(ProfileConditionType.LessThanEqual, ProfileConditionValue.VideoBitDepth, "8"), |
