basertppayload: Make perfect timestamps reproducible across element restart
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Sat, 9 Jul 2011 03:06:46 +0000 (23:06 -0400)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 25 Aug 2011 12:16:48 +0000 (14:16 +0200)
commit791eeeb1a6d9221c09855eafb00fc19c73f6302f
tree1129ebc30f667479ae2d3ee5872fa985204f3ec0
parentfd218c4ec2fb6b231257ea82b6bb23b9b776d505
basertppayload: Make perfect timestamps reproducible across element restart

Without the perfect timestamp machinery, the RTP timestamp can be
computed directly from the running time of a buffer, but the perfect
timestamp patch broke that assumption. This patch restores it by
having the first perfect timestamp be the running time of that buffer
and counting from there.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=654434
gst-libs/gst/rtp/gstbasertppayload.c