This commit is contained in:
stax76
2016-07-17 14:51:28 +02:00
parent 74957e7c02
commit b5612f045a
19 changed files with 45 additions and 89 deletions
+2 -4
View File
@@ -494,9 +494,8 @@ Class BatchEncoder
Overrides Sub Encode()
p.Script.Synchronize()
Dim batchCode = Proc.BatchHeader + Macro.Solve(CommandLines).Trim
Dim batchPath = p.TempDir + Filepath.GetBase(p.TargetFile) + "_encode.bat"
File.WriteAllText(batchPath, batchCode, Proc.BatchEncoding)
Dim batchCode = Proc.WriteBatchFile(batchPath, Macro.Solve(CommandLines).Trim)
Using proc As New Proc
proc.Init("Encoding video command line encoder: " + Name)
@@ -549,8 +548,7 @@ Class BatchEncoder
script.Synchronize()
Dim batchPath = p.TempDir + Filepath.GetBase(p.TargetFile) + "_CompCheck.bat"
Dim batchCode = Proc.BatchHeader + Macro.Solve(CompCheckCommandLines)
File.WriteAllText(batchPath, batchCode, Proc.BatchEncoding)
Dim batchCode = Proc.WriteBatchFile(batchPath, Macro.Solve(CompCheckCommandLines))
Log.WriteLine(batchCode + BR2)
Using proc As New Proc