This commit is contained in:
stax76
2017-07-25 22:02:10 +02:00
parent f58e4c73bd
commit 92c5517c25
10 changed files with 60 additions and 63 deletions
+1 -4
View File
@@ -330,10 +330,7 @@ Public MustInherit Class BasicVideoEncoder
For Each i In {"tune", "preset", "profile"}
Dim match = Regex.Match(commandLine, "(.*)(--" + i + "\s\w+)(.*)")
If match.Success Then
commandLine = match.Groups(2).Value + " " + match.Groups(1).Value + " " + match.Groups(3).Value
End If
If match.Success Then commandLine = match.Groups(2).Value + " " + match.Groups(1).Value + " " + match.Groups(3).Value
Next
Dim a = commandLine.SplitNoEmptyAndWhiteSpace(" ")