aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Dlna/CodecProfile.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-02-23 12:54:05 +0100
committerGitHub <noreply@github.com>2021-02-23 12:54:05 +0100
commite09e67deae5fc19a830178b9a7574c7c23e282bc (patch)
treec46d2efa0e8e17203f1ea865233324616f707c05 /MediaBrowser.Model/Dlna/CodecProfile.cs
parentff10dd9e127068fc058e17b21628d2679013ac8a (diff)
parent7ece3c552337340a997a75aab1520a501a673f61 (diff)
Merge branch 'master' into tests11
Diffstat (limited to 'MediaBrowser.Model/Dlna/CodecProfile.cs')
-rw-r--r--MediaBrowser.Model/Dlna/CodecProfile.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/MediaBrowser.Model/Dlna/CodecProfile.cs b/MediaBrowser.Model/Dlna/CodecProfile.cs
index d4fd3e673..8343cf028 100644
--- a/MediaBrowser.Model/Dlna/CodecProfile.cs
+++ b/MediaBrowser.Model/Dlna/CodecProfile.cs
@@ -9,6 +9,12 @@ namespace MediaBrowser.Model.Dlna
{
public class CodecProfile
{
+ public CodecProfile()
+ {
+ Conditions = Array.Empty<ProfileCondition>();
+ ApplyConditions = Array.Empty<ProfileCondition>();
+ }
+
[XmlAttribute("type")]
public CodecType Type { get; set; }
@@ -22,12 +28,6 @@ namespace MediaBrowser.Model.Dlna
[XmlAttribute("container")]
public string Container { get; set; }
- public CodecProfile()
- {
- Conditions = Array.Empty<ProfileCondition>();
- ApplyConditions = Array.Empty<ProfileCondition>();
- }
-
public string[] GetCodecs()
{
return ContainerProfile.SplitValue(Codec);