Fix: Changed "Chapter" Modell since "Id", "Start" and "End" returned by ffprobe can contain values larger than Int32.MaxValue

This commit is contained in:
Vortex 2023-10-16 03:20:31 +02:00
parent d90b482213
commit df123bb191

View file

@ -135,19 +135,19 @@ public class Format : ITagsContainer
public class Chapter : ITagsContainer public class Chapter : ITagsContainer
{ {
[JsonPropertyName("id")] [JsonPropertyName("id")]
public int Id { get; set; } public long Id { get; set; }
[JsonPropertyName("time_base")] [JsonPropertyName("time_base")]
public string TimeBase { get; set; } = null!; public string TimeBase { get; set; } = null!;
[JsonPropertyName("start")] [JsonPropertyName("start")]
public int Start { get; set; } public long Start { get; set; }
[JsonPropertyName("start_time")] [JsonPropertyName("start_time")]
public string StartTime { get; set; } = null!; public string StartTime { get; set; } = null!;
[JsonPropertyName("end")] [JsonPropertyName("end")]
public int End { get; set; } public long End { get; set; }
[JsonPropertyName("end_time")] [JsonPropertyName("end_time")]
public string EndTime { get; set; } = null!; public string EndTime { get; set; } = null!;