Skip to content

Commit a574c4f

Browse files
authored
Fix: get audioBitrate instead of audioRate (#14)
* fix: get audioBitrate instead of audioRate * fix: fix the sprintf AudioBitrate as well
1 parent 7450039 commit a574c4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

output_getters.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ func (a *Args) GetAudioRate() []string {
9797

9898
// GetAudioBitrate returns the arguments for bitrate
9999
func (a *Args) GetAudioBitrate() []string {
100-
if a.output.audioRate != 0 {
101-
return []string{"-b:a", fmt.Sprintf("%d", a.output.audioRate)}
100+
if a.output.audioBitrate != 0 {
101+
return []string{"-b:a", fmt.Sprintf("%d", a.output.audioBitrate)}
102102
}
103103
return nil
104104
}

0 commit comments

Comments
 (0)