Fixed weird windows path issue

This commit is contained in:
Stash Dev
2019-02-10 10:13:23 -08:00
parent a5442a87a4
commit 0472f9a8ed
3 changed files with 19 additions and 7 deletions

View File

@@ -2,6 +2,7 @@ package ffmpeg
import (
"fmt"
"github.com/stashapp/stash/utils"
"strconv"
)
@@ -36,7 +37,7 @@ func (e *Encoder) ScenePreviewVideoChunkCombine(probeResult VideoFile, concatFil
args := []string{
"-v", "quiet",
"-f", "concat",
"-i", concatFilePath,
"-i", utils.FixWindowsPath(concatFilePath),
"-y",
"-c", "copy",
outputPath,