mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Merge pull request #1 from ExceptionalError/QuotedFilenameForScreenshots
Added quotes to path
This commit is contained in:
commit
5c747323e9
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ func (e *Encoder) Screenshot(probeResult VideoFile, options ScreenshotOptions) {
|
||||||
"-v", options.Verbosity,
|
"-v", options.Verbosity,
|
||||||
"-ss", fmt.Sprintf("%v", options.Time),
|
"-ss", fmt.Sprintf("%v", options.Time),
|
||||||
"-y",
|
"-y",
|
||||||
"-i", probeResult.Path, // TODO: Wrap in quotes?
|
"-i", `"` + probeResult.Path + `"`,
|
||||||
"-vframes", "1",
|
"-vframes", "1",
|
||||||
"-q:v", fmt.Sprintf("%v", options.Quality),
|
"-q:v", fmt.Sprintf("%v", options.Quality),
|
||||||
"-vf", fmt.Sprintf("scale=%v:-1", options.Width),
|
"-vf", fmt.Sprintf("scale=%v:-1", options.Width),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue