Flv: Set default TagFlag to None

This commit is contained in:
Genteure 2021-04-02 16:29:39 +08:00
parent 37086776b6
commit 7c82019c5c

View File

@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics; using System.Diagnostics;
using System.IO; using System.IO;
using System.Xml.Serialization; using System.Xml.Serialization;
@ -13,7 +14,7 @@ namespace BililiveRecorder.Flv
[XmlAttribute] [XmlAttribute]
public TagType Type { get; set; } public TagType Type { get; set; }
[XmlAttribute] [XmlAttribute, DefaultValue(TagFlag.None)]
public TagFlag Flag { get; set; } public TagFlag Flag { get; set; }
[XmlIgnore] [XmlIgnore]