make format.String() return MPEG4-audio in case of MPEG-4 audio (#300)

This commit is contained in:
Alessandro Ros
2023-06-01 20:24:31 +02:00
committed by GitHub
parent 80cf861ec7
commit 6a22c33fc7
4 changed files with 6 additions and 4 deletions

View File

@@ -100,7 +100,8 @@ func (f *MPEG4AudioGeneric) unmarshal(
// String implements Format.
func (f *MPEG4AudioGeneric) String() string {
return "MPEG4-audio-gen"
// currently, String() returns the codec name, hence hide the format name.
return "MPEG4-audio"
}
// ClockRate implements Format.