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