diff rtpdec.h @ 5966:9a86b49201bb libavformat

Revert svn rev 21857, readd first_rtcp_ntp_time in RTPDemuxContext In order to sync RTP streams that get their initial RTCP timestamp at different times, propagate the NTP timestamp of the first RTCP packet to all other streams. This makes the timestamps of returned packets start at (near) zero instead of at any random offset.
author mstorsjo
date Tue, 20 Apr 2010 07:34:28 +0000
parents 2d2273c246ce
children c5a3e1951fc6
line wrap: on
line diff
--- a/rtpdec.h	Tue Apr 20 01:41:00 2010 +0000
+++ b/rtpdec.h	Tue Apr 20 07:34:28 2010 +0000
@@ -174,6 +174,7 @@
 
     /* rtcp sender statistics receive */
     int64_t last_rtcp_ntp_time;    // TODO: move into statistics
+    int64_t first_rtcp_ntp_time;   // TODO: move into statistics
     uint32_t last_rtcp_timestamp;  // TODO: move into statistics
 
     /* rtcp sender statistics */