map CLI arguments to playback config

This commit is contained in:
Dmitry Sergeev
2026-08-26 22:51:35 +03:00
parent 1b667dcdb3
commit 0b91a52b99
4 changed files with 194 additions and 10 deletions
+14 -10
View File
@@ -28,16 +28,20 @@ const (
)
type appArgs struct {
ShowHelp bool
Domain string
VideoFlowId string
AudioFlowId string
IsFullscreen bool
PlaybackId uint32
GpuId uint32
IsVerbose bool
ListAudio bool
ListGPU bool
ShowHelp bool
Domain string
VideoDomain string
AudioDomain string
VideoFlowId string
AudioFlowId string
IsFullscreen bool
PlaybackId uint32
GpuId uint32
IsVerbose bool
ListAudio bool
ListGPU bool
SyncRequested bool
MaxAttempts int
}
func printCliHelp(fs *pflag.FlagSet) {