hls muxer: fix PCR insertion when stream is audio only

This commit is contained in:
aler9
2022-04-28 13:04:13 +02:00
parent 709d727eab
commit 095b90b7ef
+1
View File
@@ -149,6 +149,7 @@ func (t *muxerTSSegment) writeAAC(
af.PCR = &astits.ClockReference{Base: int64(pcr.Seconds() * 90000)}
t.pcrSendCounter = 3
}
t.pcrSendCounter--
}
_, err := t.writeData(&astits.MuxerData{