hls: fix AU counting of audio-only tracks

This commit is contained in:
aler9 2022-01-30 18:34:54 +01:00
parent 3e8668f9e2
commit 43c3b7b60d

View File

@ -13,7 +13,7 @@ import (
type muxerTSSegment struct {
hlsSegmentMaxSize uint64
videoTrack gortsplib.Track
videoTrack *gortsplib.TrackH264
writer *muxerTSWriter
name string
@ -26,7 +26,7 @@ type muxerTSSegment struct {
func newMuxerTSSegment(
hlsSegmentMaxSize uint64,
videoTrack gortsplib.Track,
videoTrack *gortsplib.TrackH264,
writer *muxerTSWriter,
) *muxerTSSegment {
t := &muxerTSSegment{