rtpjitterbuffer: fix order of timeout events
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 20 Sep 2013 15:18:27 +0000 (17:18 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 23 Sep 2013 12:45:25 +0000 (14:45 +0200)
commitfdc1ed1680b1ae80cdc1925bfaf81395453200d3
tree108f86d11ed5137eca444606dda6f7b9f83673a0
parent0b1a7edfea6de1f1f3de47e4b355a3f290387e5a
rtpjitterbuffer: fix order of timeout events

Improve the order of the timeout events, if there are timers with the same
timeout, we want to trigger the lowest seqnum first. For this we need to loop
over the complete array of timers to find the best one before triggering the
timeout.
gst/rtpmanager/gstrtpjitterbuffer.c