update docs

This commit is contained in:
aler9
2022-02-18 10:05:44 +01:00
parent 433426ff07
commit a7ce5b7a53
6 changed files with 10 additions and 10 deletions

View File

@@ -67,7 +67,7 @@ func (e *mpegtsEncoder) encode(nalus [][]byte, pts time.Duration) error {
e.startPTS = pts
}
// check whether there's an IDR
// check if there's an IDR
idrPresent := func() bool {
for _, nalu := range nalus {
typ := h264.NALUType(nalu[0] & 0x1F)