mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
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. Originally committed as revision 22917 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -174,6 +174,7 @@ struct RTPDemuxContext {
|
||||
|
||||
/* 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 */
|
||||
|
Reference in New Issue
Block a user