Code refactoring after #1195

This commit is contained in:
Alex X
2024-06-16 15:19:50 +03:00
parent 5d57959608
commit 906f554d74
2 changed files with 22 additions and 11 deletions
+7 -1
View File
@@ -69,8 +69,14 @@ func FFmpegCodecName(name string) string {
return "vp9"
case CodecAV1:
return "av1"
case CodecELD:
return "aac/eld"
case CodecFLAC:
return "flac"
case CodecMP3:
return "mp3"
}
return ""
return name
}
func (c *Codec) String() (s string) {