Mercurial > libavformat.hg
diff rtpdec.h @ 5967:c5a3e1951fc6 libavformat
Reset RTCP timestamps after seeking, add range start offset to the packets timestamps
If these aren't reset, the timestamps make a huge jump when the next RTCP
is received.
author | mstorsjo |
---|---|
date | Tue, 20 Apr 2010 07:38:52 +0000 |
parents | 9a86b49201bb |
children | 736165b749f8 |
line wrap: on
line diff
--- a/rtpdec.h Tue Apr 20 07:34:28 2010 +0000 +++ b/rtpdec.h Tue Apr 20 07:38:52 2010 +0000 @@ -162,6 +162,7 @@ uint32_t timestamp; uint32_t base_timestamp; uint32_t cur_timestamp; + int64_t range_start_offset; int max_payload_size; struct MpegTSContext *ts; /* only used for MP2T payloads */ int read_buf_index;