Skip to content

Commit

Permalink
Fixed crash related to FPS
Browse files Browse the repository at this point in the history
  • Loading branch information
PeteJobi committed May 31, 2023
2 parents 443b56a + 5ed9b43 commit 2c2c0ca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Upscaler/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ void UpscaleFile(string fileName, int currentFileIndex, int totalFilesCount, Act
StartProcess(ffmpegPath, $"-i \"{fileName}\" -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 \"{frameFolders.InputFolder}/frame%08d.png\"", null, (sender, args) =>
{
if (string.IsNullOrWhiteSpace(args.Data)) return;
Console.WriteLine(args.Data);
if (duration == TimeSpan.MinValue)
{
MatchCollection matchCollection = Regex.Matches(args.Data, @"\s+?Duration:\s(\d{2}:\d{2}:\d{2}\.\d{2}).+");
Expand Down

0 comments on commit 2c2c0ca

Please sign in to comment.