ffmpeg: move back to scale_cuda from scale_npp

This commit is contained in:
Eli Mallon
2024-01-23 00:28:19 +00:00
parent 9b5baef308
commit 44c738c7c0
+2 -13
View File
@@ -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) {