mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 10:43:30 +01:00
Enable TreatWarningsAsErrors for MediaBrowser.Model
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user