hls: use audioAUCount only if audio is primary track
This commit is contained in:
parent
02afa8ff99
commit
74f3be1eed
|
@ -158,8 +158,10 @@ func (m *Muxer) WriteAAC(pts time.Duration, aus [][]byte) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if m.videoTrack == nil {
|
||||
m.audioAUCount++
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue