jitterbuffer: take more accurate running-time for NACK
authorWim Taymans <wtaymans@redhat.com>
Fri, 27 Dec 2013 14:57:39 +0000 (15:57 +0100)
committerWim Taymans <wtaymans@redhat.com>
Mon, 30 Dec 2013 10:18:50 +0000 (11:18 +0100)
commite996f73d0cc71311b6058f2ec8bc276dbb777e2b
tree78739afd73ddb2133b9fe18df4ac457e020f1f48
parent29840bfd96c657e0b4b46d045ae0abd4f4cc87d0
jitterbuffer: take more accurate running-time for NACK

Don't use the current time calculated from the tmieout loop for when we
last scheduled the NACK because it might be unscheduled because of a max
packet misorder and then we don't accurately calculate the current time.
Instead, take the current element running time using the clock.
gst/rtpmanager/gstrtpjitterbuffer.c