rtpjitterbuffer: No need to wake the timer thread on head changes
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 20 Jun 2019 19:59:48 +0000 (15:59 -0400)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Fri, 27 Sep 2019 21:34:04 +0000 (17:34 -0400)
commitd4c6c335c5b3b6037cc79ecf770043845bf653e5
tree48bf3f9773ec9818659a6bd285257124c3df9ff3
parent36771b75e9cc486b39139f4eb5e9fe8b67c1eb17
rtpjitterbuffer: No need to wake the timer thread on head changes

If the jitterbuffer head change, there is no need to systematically
wakeup the timer thread. The timer thread will be waken up on if
an earlier timeout has been pushed. This prevent some more spurious
wakeup when the system is loaded. As a side effect, cranking the clock
may set the clock at an earlier position.
gst/rtpmanager/gstrtpjitterbuffer.c
tests/check/elements/rtpjitterbuffer.c