another String() improvement
This commit is contained in:
parent
23f657024b
commit
e3f2c831ee
@ -36,14 +36,6 @@ func (r Resolution) String() string {
|
||||
switch r {
|
||||
case Resolution4K:
|
||||
return "4K"
|
||||
case ResolutionQuadHD:
|
||||
return "1440p"
|
||||
case ResolutionFullHD:
|
||||
return "1080p"
|
||||
case ResolutionHD:
|
||||
return "720p"
|
||||
case ResolutionSD:
|
||||
return "SD"
|
||||
default:
|
||||
return fmt.Sprintf("%dp", r)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user