celtpay: fix queue duration calculations
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 13 May 2010 09:30:27 +0000 (11:30 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 13 May 2010 09:30:27 +0000 (11:30 +0200)
commit3e4bc043a567a954a84397aedb1064b0a1a7de61
treea39ff057b45bd9833349abc969a5747e0d31af28
parent4cff2e2c6788107c9a76daf379123ae854117d0f
celtpay: fix queue duration calculations

Don't blindly add the durations of incomming buffers to the total queued
duration because it might be invalid. Mark the total queued duration invalid
when we receive an invalid incomming timestamp because that's when we lose track
of the total queued duration.

Fixes #618324
gst/rtp/gstrtpceltpay.c