mirror of
https://github.com/owncast/owncast.git
synced 2025-11-03 04:27:18 +08:00
Cleanup linter warnings
This commit is contained in:
@ -45,7 +45,7 @@ func (c *Libx264Codec) GlobalFlags() string {
|
||||
}
|
||||
|
||||
func (c *Libx264Codec) PixelFormat() string {
|
||||
return "yuv420p"
|
||||
return "yuv420p" //nolint:goconst
|
||||
}
|
||||
|
||||
func (c *Libx264Codec) ExtraArguments() string {
|
||||
@ -78,7 +78,7 @@ func (c *Libx264Codec) GetPresetForLevel(l int) string {
|
||||
}
|
||||
|
||||
if l >= len(presetMapping) {
|
||||
return "superfast"
|
||||
return "superfast" //nolint:goconst
|
||||
}
|
||||
|
||||
return presetMapping[l]
|
||||
|
||||
Reference in New Issue
Block a user