rtpdec: Emit timestamps for packets before the first RTCP packet, too
authorMartin Storsjö <martin@martin.st>
Sat, 1 Jan 2011 22:27:16 +0000 (22:27 +0000)
committerMartin Storsjö <martin@martin.st>
Sat, 1 Jan 2011 22:27:16 +0000 (22:27 +0000)
commit3a1cdcc798fd7cb60ef69d1d010f5d56218c4b3a
treea07de61f687827dc5a3bd9b70cae18e6eefb77f0
parentdfaa9f3cb328f245cc1f9c56145a21c6d6e58f42
rtpdec: Emit timestamps for packets before the first RTCP packet, too

Emitted timestamps in each stream start from 0, for the first received
RTP packet. Once an RTCP packet is received, that one is used for
sync, emitting timestamps that fit seamlessly into the earlier ones.

Originally committed as revision 26187 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtpdec.c
libavformat/rtpdec.h
libavformat/rtsp.c
libavformat/rtspdec.c