jitterbuffer: do skew estimation only for new timestamps
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 6 Feb 2013 16:15:11 +0000 (17:15 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 6 Feb 2013 16:15:11 +0000 (17:15 +0100)
commitc3077012c0914a8d3a103a858d820f4a3ec3c900
tree2e243255e8bf3506192f13477c46e70c892544cd
parent640de61740e86521581671ed6e2993dd0a44dbe7
jitterbuffer: do skew estimation only for new timestamps

Only run the skew estimation code when we have a new RTP timestamp. If we have
the same RTP timestamp, we simply use the previous estimation. This works
because the new observation with the same RTP timestamp has to have a bigger
receiver time and is thus not going to influence the estimation except for
causing more jitter.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=640023
gst/rtpmanager/rtpjitterbuffer.c