rtpjitterbuffer: Fix packet dropping after a big discont
authorSebastian Dröge <sebastian@centricular.com>
Wed, 9 Dec 2015 10:24:09 +0000 (12:24 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 9 Dec 2015 10:24:09 +0000 (12:24 +0200)
commite4b2360e6e5bff335a6b688a03a2385bcb8ea9c0
tree3e8f4cd3eea347d414ec289eb5ce08c63a0b7fc2
parent34b26ea0cc8262fe890f4da7aaccb0f1879a54e6
rtpjitterbuffer: Fix packet dropping after a big discont

We would queue 5 consective packets before considering a reset and a proper
discont here. Instead of expecting the next output packet to have the current
seqnum (i.e. the fifth), expect it to have the first seqnum. Otherwise we're
going to drop all queued up packets.
gst/rtpmanager/gstrtpjitterbuffer.c