mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-12-14 10:05:44 +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)
|
fmt = new ContainerFormat(match.Groups[3].Value)
|
||||||
{
|
{
|
||||||
DemuxingSupported = match.Groups[1].Value != " ",
|
DemuxingSupported = match.Groups[1].Value != " ",
|
||||||
MuxingSupported = match.Groups[2].Value != " ",
|
MuxingSupported = match.Groups[2].Value != " ",
|
||||||
Description = match.Groups[4].Value
|
Description = match.Groups[4].Value
|
||||||
};
|
};
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -184,7 +184,7 @@ public static class FFProbe
|
||||||
var ffprobeAnalysis = JsonSerializer.Deserialize<FFProbeFrames>(json,
|
var ffprobeAnalysis = JsonSerializer.Deserialize<FFProbeFrames>(json,
|
||||||
new JsonSerializerOptions
|
new JsonSerializerOptions
|
||||||
{
|
{
|
||||||
PropertyNameCaseInsensitive = true,
|
PropertyNameCaseInsensitive = true,
|
||||||
NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString
|
NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -197,7 +197,7 @@ public static class FFProbe
|
||||||
var ffprobeAnalysis = JsonSerializer.Deserialize<FFProbePackets>(json,
|
var ffprobeAnalysis = JsonSerializer.Deserialize<FFProbePackets>(json,
|
||||||
new JsonSerializerOptions
|
new JsonSerializerOptions
|
||||||
{
|
{
|
||||||
PropertyNameCaseInsensitive = true,
|
PropertyNameCaseInsensitive = true,
|
||||||
NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString
|
NumberHandling = JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -243,8 +243,8 @@ public static class FFProbe
|
||||||
FFProbeHelper.VerifyFFProbeExists(ffOptions);
|
FFProbeHelper.VerifyFFProbeExists(ffOptions);
|
||||||
var startInfo = new ProcessStartInfo(GlobalFFOptions.GetFFProbeBinaryPath(ffOptions), $"{arguments} {customArguments}")
|
var startInfo = new ProcessStartInfo(GlobalFFOptions.GetFFProbeBinaryPath(ffOptions), $"{arguments} {customArguments}")
|
||||||
{
|
{
|
||||||
StandardOutputEncoding = ffOptions.Encoding,
|
StandardOutputEncoding = ffOptions.Encoding,
|
||||||
StandardErrorEncoding = ffOptions.Encoding,
|
StandardErrorEncoding = ffOptions.Encoding,
|
||||||
WorkingDirectory = ffOptions.WorkingDirectory
|
WorkingDirectory = ffOptions.WorkingDirectory
|
||||||
};
|
};
|
||||||
return new ProcessArguments(startInfo);
|
return new ProcessArguments(startInfo);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue