video backend CLI flag
This commit is contained in:
@@ -6,10 +6,19 @@ import (
|
||||
"github.com/qvest-digital/go-mxl/mxl"
|
||||
)
|
||||
|
||||
type Backend string
|
||||
|
||||
const (
|
||||
BackendAuto Backend = "auto"
|
||||
BackendGPU Backend = "gpu"
|
||||
BackendCPU Backend = "cpu"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
Definition flowdef.Video
|
||||
Pattern string
|
||||
Overlay OverlayConfig
|
||||
Backend Backend
|
||||
}
|
||||
|
||||
type OverlayConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user