Files
overlord/Overlord-Client/cmd/agent/capture/nvenc_smoke_other.go
T

17 lines
448 B
Go
Raw Normal View History

2026-07-11 14:55:26 -05:00
//go:build !windows || no_nvenc
2026-06-06 16:08:28 -05:00
package capture
type NVENCSmokeResult struct {
Available bool `json:"available"`
DLL string `json:"dll"`
APIMajor int `json:"api_major"`
APIMinor int `json:"api_minor"`
RawAPI uint32 `json:"raw_api"`
Error string `json:"error,omitempty"`
}
func RunNVENCSmoke() NVENCSmokeResult {
return NVENCSmokeResult{DLL: "nvEncodeAPI64.dll", Error: "NVENC smoke is only supported on Windows"}
}