Skip to content

Commit

Permalink
Merge pull request #11 from eelwk/master
Browse files Browse the repository at this point in the history
adding escape for single quote in parameters
  • Loading branch information
xpouyat committed May 2, 2020
2 parents a5b7453 + a2c4c9b commit 5d0dae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Encoding/Encoding/VodFunctions/ffmpeg-encoding.cs
Expand Up @@ -118,8 +118,8 @@ public static class fmpeg

process.StartInfo.Arguments = (ffmpegArguments ?? " -i {input} {output} -y")
.Replace("{input}", "\"" + pathLocalInput + "\"")
.Replace("{output}", "\"" + pathLocalOutput + "\"");

.Replace("{output}", "\"" + pathLocalOutput + "\"")
.Replace("'", "\"");

log.LogInformation(process.StartInfo.Arguments);

Expand Down

0 comments on commit 5d0dae0

Please sign in to comment.