rtpjitterbuffer: Fix expected_dts calc in calculate_expected
authorMiguel París Díaz <mparisdiaz@gmail.com>
Tue, 4 Nov 2014 14:00:52 +0000 (15:00 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 13 Apr 2015 07:06:33 +0000 (09:06 +0200)
commit05bd708fc5e881390fe839803b53144393d95ab0
treead321923d704a4be8eb43bd1553dbe2dddfd57cd
parent1a2f253c3a25df860ea5730be61d9ab0ef9b34b0
rtpjitterbuffer: Fix expected_dts calc in calculate_expected

Right above we consider lost_packet packets, each of them having duration,
as lost and triggered their timers immediately. Below we use expected_dts
to schedule retransmission or schedule lost timers for the packets that
come after expected_dts.

As we just triggered lost_packets packets as lost, there's no point in
scheduling new timers for them and we can just skip over all lost packets.

https://bugzilla.gnome.org/show_bug.cgi?id=739868
gst/rtpmanager/gstrtpjitterbuffer.c