diff --git a/ffmpeg/ffmpeg.go b/ffmpeg/ffmpeg.go index 6ed3442dd9..c479fabac4 100755 --- a/ffmpeg/ffmpeg.go +++ b/ffmpeg/ffmpeg.go @@ -9,7 +9,6 @@ import ( "os" "path" "path/filepath" - "runtime" "strconv" "strings" "sync" @@ -1072,21 +1071,11 @@ func ffmpegStrEscape(origStr string) string { } func hwScale() string { - if runtime.GOOS == "windows" { - // we don't build windows binaries with CUDA SDK, so need to use scale_cuda instead of scale_npp - return "scale_cuda" - } else { - return "scale_npp" - } + return "scale_cuda" } func hwScaleAlgo() string { - if runtime.GOOS == "windows" { - // we don't build windows binaries with CUDA SDK, so need to use the default scale algorithm - return "" - } else { - return "super" - } + return "" } func FfmpegSetLogLevel(level int) { diff --git a/install_ffmpeg.sh b/install_ffmpeg.sh index d187373cfd..bfe128eae9 100755 --- a/install_ffmpeg.sh +++ b/install_ffmpeg.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash echo 'WARNING: downloading and executing go-livepeer/install_ffmpeg.sh, use it directly in case of issues' -wget -O - https://raw.githubusercontent.com/livepeer/go-livepeer/master/install_ffmpeg.sh | bash -s $1 \ No newline at end of file +wget -O - https://raw.githubusercontent.com/livepeer/go-livepeer/eli/no-npp/install_ffmpeg.sh | bash -s $1 \ No newline at end of file