Skip to content

Commit

Permalink
lint: fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricioabreu committed Apr 19, 2024
1 parent 4d86f01 commit a650b5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/task/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,10 @@ func (g *GPACCommand) Execute() error {
args = append(args, "@@", fmt.Sprintf("c=aac:b=%dk", a.Rate))
}

// connect channels
// connect filters
args = append(args, "@")
totalChannels := len(g.Input.VideoProfiles) + len(g.Input.AudioProfiles)

for i := 1; i < totalChannels; i++ {
args = append(args, fmt.Sprintf("@%d", i))
}
Expand Down

0 comments on commit a650b5e

Please sign in to comment.