mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-14 02:04:14 +01:00
Fix warnings
This commit is contained in:
parent
3785179a87
commit
29d8829d48
2 changed files with 10 additions and 10 deletions
|
@ -84,7 +84,7 @@ public class Tags
|
||||||
public class Format
|
public class Format
|
||||||
{
|
{
|
||||||
[JsonPropertyName("filename")]
|
[JsonPropertyName("filename")]
|
||||||
public string Filename { get; set; }
|
public string Filename { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("nb_streams")]
|
[JsonPropertyName("nb_streams")]
|
||||||
public int NbStreams { get; set; }
|
public int NbStreams { get; set; }
|
||||||
|
@ -93,27 +93,27 @@ public class Format
|
||||||
public int NbPrograms { get; set; }
|
public int NbPrograms { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("format_name")]
|
[JsonPropertyName("format_name")]
|
||||||
public string FormatName { get; set; }
|
public string FormatName { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("format_long_name")]
|
[JsonPropertyName("format_long_name")]
|
||||||
public string FormatLongName { get; set; }
|
public string FormatLongName { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("start_time")]
|
[JsonPropertyName("start_time")]
|
||||||
public string StartTime { get; set; }
|
public string StartTime { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("duration")]
|
[JsonPropertyName("duration")]
|
||||||
public string Duration { get; set; }
|
public string Duration { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("size")]
|
[JsonPropertyName("size")]
|
||||||
public string Size { get; set; }
|
public string Size { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("bit_rate")]
|
[JsonPropertyName("bit_rate")]
|
||||||
public string BitRate { get; set; }
|
public string BitRate { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("probe_score")]
|
[JsonPropertyName("probe_score")]
|
||||||
public int ProbeScore { get; set; }
|
public int ProbeScore { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("tags")]
|
[JsonPropertyName("tags")]
|
||||||
public Tags Tags { get; set; }
|
public Tags Tags { get; set; } = null!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,8 @@ namespace FFMpegCore
|
||||||
public class MediaFormat
|
public class MediaFormat
|
||||||
{
|
{
|
||||||
public TimeSpan Duration { get; set; }
|
public TimeSpan Duration { get; set; }
|
||||||
public string FormatName { get; set; }
|
public string FormatName { get; set; } = null!;
|
||||||
public string FormatLongName { get; set; }
|
public string FormatLongName { get; set; } = null!;
|
||||||
public int StreamCount { get; set; }
|
public int StreamCount { get; set; }
|
||||||
public double ProbeScore { get; set; }
|
public double ProbeScore { get; set; }
|
||||||
public double BitRate { get; set; }
|
public double BitRate { get; set; }
|
||||||
|
|
Loading…
Reference in a new issue