map CLI arguments to playback config
This commit is contained in:
+14
-10
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user