mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 01:55:45 +00:00
Fix newline between properties formatting
This commit is contained in:
parent
c49f4c79ca
commit
c6a38fabdc
2 changed files with 10 additions and 4 deletions
|
|
@ -40,7 +40,9 @@ public class ContainerFormat
|
|||
|
||||
fmt = new ContainerFormat(match.Groups[3].Value)
|
||||
{
|
||||
DemuxingSupported = match.Groups[1].Value != " ", MuxingSupported = match.Groups[2].Value != " ", Description = match.Groups[4].Value
|
||||
DemuxingSupported = match.Groups[1].Value != " ",
|
||||
MuxingSupported = match.Groups[2].Value != " ",
|
||||
Description = match.Groups[4].Value
|
||||
};
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -184,7 +184,8 @@ public static class FFProbe
|
|||
var ffprobeAnalysis = JsonSerializer.Deserialize<FFProbeFrames>(json,
|
||||
new JsonSerializerOptions
|
||||
{
|
||||
PropertyNameCaseInsensitive = true, NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString
|
||||
PropertyNameCaseInsensitive = true,
|
||||
NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString
|
||||
});
|
||||
|
||||
return ffprobeAnalysis!;
|
||||
|
|
@ -196,7 +197,8 @@ public static class FFProbe
|
|||
var ffprobeAnalysis = JsonSerializer.Deserialize<FFProbePackets>(json,
|
||||
new JsonSerializerOptions
|
||||
{
|
||||
PropertyNameCaseInsensitive = true, NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString
|
||||
PropertyNameCaseInsensitive = true,
|
||||
NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString
|
||||
});
|
||||
|
||||
return ffprobeAnalysis!;
|
||||
|
|
@ -241,7 +243,9 @@ public static class FFProbe
|
|||
FFProbeHelper.VerifyFFProbeExists(ffOptions);
|
||||
var startInfo = new ProcessStartInfo(GlobalFFOptions.GetFFProbeBinaryPath(ffOptions), $"{arguments} {customArguments}")
|
||||
{
|
||||
StandardOutputEncoding = ffOptions.Encoding, StandardErrorEncoding = ffOptions.Encoding, WorkingDirectory = ffOptions.WorkingDirectory
|
||||
StandardOutputEncoding = ffOptions.Encoding,
|
||||
StandardErrorEncoding = ffOptions.Encoding,
|
||||
WorkingDirectory = ffOptions.WorkingDirectory
|
||||
};
|
||||
return new ProcessArguments(startInfo);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue