Revert svn rev 21857, readd first_rtcp_ntp_time in RTPDemuxContext
authorMartin Storsjö <martin@martin.st>
Tue, 20 Apr 2010 07:34:28 +0000 (07:34 +0000)
committerMartin Storsjö <martin@martin.st>
Tue, 20 Apr 2010 07:34:28 +0000 (07:34 +0000)
commit2cab6b48ad9595abe24615c3262f22b76c9b921d
treecee1cf9ffde9beb4989a76f5b3615c59c57aed55
parent2293a2e67fb54aae165bb042d3154a7809a81860
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
libavformat/rtpdec.c
libavformat/rtpdec.h
libavformat/rtsp.c