From df123bb1912fa9e089a8835c9b69bc3ea013b16d Mon Sep 17 00:00:00 2001 From: Vortex Date: Mon, 16 Oct 2023 03:20:31 +0200 Subject: [PATCH] Fix: Changed "Chapter" Modell since "Id", "Start" and "End" returned by ffprobe can contain values larger than Int32.MaxValue --- FFMpegCore/FFProbe/FFProbeAnalysis.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FFMpegCore/FFProbe/FFProbeAnalysis.cs b/FFMpegCore/FFProbe/FFProbeAnalysis.cs index 1966242..e88f461 100644 --- a/FFMpegCore/FFProbe/FFProbeAnalysis.cs +++ b/FFMpegCore/FFProbe/FFProbeAnalysis.cs @@ -135,19 +135,19 @@ public class Format : ITagsContainer public class Chapter : ITagsContainer { [JsonPropertyName("id")] - public int Id { get; set; } + public long Id { get; set; } [JsonPropertyName("time_base")] public string TimeBase { get; set; } = null!; [JsonPropertyName("start")] - public int Start { get; set; } + public long Start { get; set; } [JsonPropertyName("start_time")] public string StartTime { get; set; } = null!; [JsonPropertyName("end")] - public int End { get; set; } + public long End { get; set; } [JsonPropertyName("end_time")] public string EndTime { get; set; } = null!;