Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #520 from vania-pooh/master
Browse files Browse the repository at this point in the history
Do not process video in drivers-only mode (fixes #513)
  • Loading branch information
vania-pooh authored Aug 9, 2018
2 parents 48f63ff + ed63c3c commit 4dabb36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selenoid.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func create(w http.ResponseWriter, r *http.Request) {
}
browser.Caps.VideoScreenSize = videoScreenSize
finalVideoName := browser.Caps.VideoName
if browser.Caps.Video {
if browser.Caps.Video && !disableDocker {
browser.Caps.VideoName = getTemporaryFileName(videoOutputDir, videoFileExtension)
}
finalLogName := browser.Caps.LogName
Expand Down Expand Up @@ -276,7 +276,7 @@ func create(w http.ResponseWriter, r *http.Request) {
})}
cancelAndRenameFiles := func() {
cancel()
if browser.Caps.Video {
if browser.Caps.Video && !disableDocker {
oldVideoName := filepath.Join(videoOutputDir, browser.Caps.VideoName)
if finalVideoName == "" {
finalVideoName = s.ID + videoFileExtension
Expand Down

0 comments on commit 4dabb36

Please sign in to comment.