jitterbuffer: simplify the timeout code
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 17 Sep 2013 21:03:45 +0000 (23:03 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 17 Sep 2013 21:29:56 +0000 (23:29 +0200)
commit047021c4439fc1f8d5035c8deced36028ed92f60
treec5582f0eae894e08f8d1adfba05bb3413ba104c2
parentfa1ef3328b148eab52073818587b0702fcae949a
jitterbuffer: simplify the timeout code

Keep track of the current time in the timeout loop.
Loop over all timers and trigger all the expired ones, we can do this in the
same loop that selects the new best timer.
gst/rtpmanager/gstrtpjitterbuffer.c