FF-1493: Added ability to save images to the file log

This commit is contained in:
John Andrews
2024-04-24 17:57:38 +12:00
parent 478cf768c6
commit 583f2a725e
21 changed files with 131 additions and 54 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ public class FFprobeTimeSpanConverter : JsonConverter<TimeSpan>
{
public override TimeSpan Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
string stringValue = reader.GetString();
var stringValue = reader.GetString() ?? string.Empty;
if (double.TryParse(stringValue, out double seconds) == false)
return default;