Adjusted stringing
This commit is contained in:
parent
5c80d8bf65
commit
8ea7c4ce7e
@ -41,7 +41,7 @@ class EncodeDaemon(val referenceId: String, val work: EncodeWork, val daemonInte
|
||||
File(work.outFile).parentFile.mkdirs()
|
||||
}
|
||||
val adjustedArgs = listOf(
|
||||
"-hide_banner", "-i", work.inFile, *work.arguments.toTypedArray(), work.outFile,
|
||||
"-hide_banner", "-i", "'${work.inFile}'", *work.arguments.toTypedArray(), "'${work.outFile}'",
|
||||
"-progress", "pipe:1"
|
||||
) + if (EncodeEnv.allowOverwrite) listOf("-y") else emptyList()
|
||||
logger.info { "$referenceId @ ${work.workId} ${adjustedArgs.joinToString(" ")}" }
|
||||
|
||||
@ -19,7 +19,7 @@ class ExtractDaemon(val referenceId: String, val work: ExtractWork, val daemonIn
|
||||
File(work.outFile).parentFile.mkdirs()
|
||||
}
|
||||
val adjustedArgs = listOf(
|
||||
"-hide_banner", "-i", work.inFile, *work.arguments.toTypedArray(), work.outFile,
|
||||
"-hide_banner", "-i", "'${work.inFile}'", *work.arguments.toTypedArray(), "'${work.outFile}'",
|
||||
"-progress", "pipe:1"
|
||||
) + if (EncodeEnv.allowOverwrite) listOf("-y") else emptyList()
|
||||
logger.info { "$referenceId @ ${work.workId} ${adjustedArgs.joinToString(" ")}" }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user