diff options
author | Martin Storsjö <martin@martin.st> | 2011-01-01 22:27:16 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-01-01 22:27:16 +0000 |
commit | 3a1cdcc798fd7cb60ef69d1d010f5d56218c4b3a (patch) | |
tree | a07de61f687827dc5a3bd9b70cae18e6eefb77f0 /libavformat/rtpdec.h | |
parent | dfaa9f3cb328f245cc1f9c56145a21c6d6e58f42 (diff) | |
download | ffmpeg-3a1cdcc798fd7cb60ef69d1d010f5d56218c4b3a.tar.gz |
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
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r-- | libavformat/rtpdec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index 778ca92984..c5a521760d 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -172,6 +172,7 @@ struct RTPDemuxContext { 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 + int64_t rtcp_ts_offset; /* rtcp sender statistics */ unsigned int packet_count; // TODO: move into statistics (outgoing) |