mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 07:37:07 +08:00
update docs
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user