video backend CLI flag

This commit is contained in:
Dmitry Sergeev
2026-09-17 23:16:59 +03:00
parent f5df9506ce
commit fa787b5ef1
3 changed files with 106 additions and 5 deletions
+9
View File
@@ -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 {