keep header on Ogg packetizer
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
DataHoarder 2022-03-01 21:13:07 +01:00
parent 4973144585
commit 3cdfe0039f

View file

@ -26,6 +26,9 @@ type OggPacket struct {
}
func (p *OggPacket) KeepMode() KeepMode {
if p.header.AbsoluteGranulePosition == 0 {
return Keep
}
return Discard
}