another String() improvement

This commit is contained in:
Timon Ringwald 2022-08-15 14:41:04 +02:00
parent 23f657024b
commit e3f2c831ee

View File

@ -36,14 +36,6 @@ func (r Resolution) String() string {
switch r { switch r {
case Resolution4K: case Resolution4K:
return "4K" return "4K"
case ResolutionQuadHD:
return "1440p"
case ResolutionFullHD:
return "1080p"
case ResolutionHD:
return "720p"
case ResolutionSD:
return "SD"
default: default:
return fmt.Sprintf("%dp", r) return fmt.Sprintf("%dp", r)
} }