mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-09-27 04:36:12 +08:00
Remove old code
This commit is contained in:
@@ -164,9 +164,3 @@ func PatchVideoScale(init []byte, scaleX, scaleY int) bool {
|
|||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
|
||||||
stateNone byte = iota
|
|
||||||
stateInit
|
|
||||||
stateStart
|
|
||||||
)
|
|
||||||
|
@@ -383,11 +383,3 @@ func (p *PES) GetPacket() (pkt *rtp.Packet) {
|
|||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// PTSToTimestamp - convert PTS from 90000 to custom clock rate
|
|
||||||
//func PTSToTimestamp(pts, clockRate uint32) uint32 {
|
|
||||||
// if clockRate == 90000 {
|
|
||||||
// return pts
|
|
||||||
// }
|
|
||||||
// return uint32(uint64(pts) * uint64(clockRate) / 90000)
|
|
||||||
//}
|
|
||||||
|
Reference in New Issue
Block a user