jitterbuffer: fix buffer level with invalid DTS
authorWim Taymans <wtaymans@redhat.com>
Mon, 3 Mar 2014 10:34:00 +0000 (11:34 +0100)
committerWim Taymans <wtaymans@redhat.com>
Mon, 3 Mar 2014 10:34:00 +0000 (11:34 +0100)
commitb4caf090112fe95dedb0b5a6cf31d2b9d96c9632
tree36dd19943be1c7f081839234228154b1b6d05409
parent53d0741347986dec9252e04c5662a68b055de515
jitterbuffer: fix buffer level with invalid DTS

It is possible that the DTS is invalid (when we receive RTP packets from
TCP, for example). As a fallback, use the reconstructed PTS value to
calculate the buffer level.
gst/rtpmanager/rtpjitterbuffer.c