add Track.String() method

This commit is contained in:
aler9
2022-11-19 20:39:50 +01:00
parent a682c228b2
commit e6477ceacc
31 changed files with 116 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ import (
func TestTrackMPEG2VideoAttributes(t *testing.T) {
track := &TrackMPEG2Video{}
require.Equal(t, "MPEG2-video", track.String())
require.Equal(t, 90000, track.ClockRate())
require.Equal(t, "", track.GetControl())
}