aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Dlna/TranscodingProfile.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-01 00:16:25 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-04-01 00:16:25 -0400
commit4afe2c3f731562efbe42147d1bcbdc0a7542cfeb (patch)
treecbfa2811dfff4c818d34de926f68be2ef8a78948 /MediaBrowser.Controller/Dlna/TranscodingProfile.cs
parent49b121e87fc4fa9fd74f7eabca47450e6fdccb1c (diff)
updated dlna profile format
Diffstat (limited to 'MediaBrowser.Controller/Dlna/TranscodingProfile.cs')
-rw-r--r--MediaBrowser.Controller/Dlna/TranscodingProfile.cs23
1 files changed, 2 insertions, 21 deletions
diff --git a/MediaBrowser.Controller/Dlna/TranscodingProfile.cs b/MediaBrowser.Controller/Dlna/TranscodingProfile.cs
index 707f0c573..704ba54d2 100644
--- a/MediaBrowser.Controller/Dlna/TranscodingProfile.cs
+++ b/MediaBrowser.Controller/Dlna/TranscodingProfile.cs
@@ -30,13 +30,8 @@ namespace MediaBrowser.Controller.Dlna
[XmlAttribute("transcodeSeekInfo")]
public TranscodeSeekInfo TranscodeSeekInfo { get; set; }
- public TranscodingSetting[] Settings { get; set; }
-
- public TranscodingProfile()
- {
- Settings = new TranscodingSetting[] { };
- }
-
+ [XmlAttribute("videoProfile")]
+ public string VideoProfile { get; set; }
public List<string> GetAudioCodecs()
{
@@ -44,20 +39,6 @@ namespace MediaBrowser.Controller.Dlna
}
}
- public class TranscodingSetting
- {
- [XmlAttribute("name")]
- public TranscodingSettingType Name { get; set; }
-
- [XmlAttribute("value")]
- public string Value { get; set; }
- }
-
- public enum TranscodingSettingType
- {
- VideoProfile = 0
- }
-
public enum TranscodeSeekInfo
{
Auto = 0,