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

@@ -119,6 +119,11 @@ func (t *TrackGeneric) Init() error {
return nil
}
// String returns the track codec.
func (t *TrackGeneric) String() string {
return "Generic"
}
// ClockRate returns the track clock rate.
func (t *TrackGeneric) ClockRate() int {
return t.clockRate