jitterbuffer: make sure time never goes invalid
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 31 Aug 2009 10:47:15 +0000 (12:47 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 31 Aug 2009 10:47:15 +0000 (12:47 +0200)
commite254936e3417d283c72b49496c927fb5a8248e4b
treea6c23ca011b29b96c9ed6ea853474b5cc823a113
parent1f14f577d873711e3f4b026f1ab709af69883684
jitterbuffer: make sure time never goes invalid

Since the skew can be negative, we might end up with invalid timestamps. Check
for negative results and clamp to 0.

See #593354
gst/rtpmanager/rtpjitterbuffer.c