aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpdec.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-04-20 07:38:52 +0000
committerMartin Storsjö <martin@martin.st>2010-04-20 07:38:52 +0000
commit5948f8222706d63f603167bf1a17c20bdee0b321 (patch)
tree3e2a4b1010f72d96e0f46f49eb0a3b99d2c8ee2f /libavformat/rtpdec.h
parent2cab6b48ad9595abe24615c3262f22b76c9b921d (diff)
downloadffmpeg-5948f8222706d63f603167bf1a17c20bdee0b321.tar.gz
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. Originally committed as revision 22918 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.h')
-rw-r--r--libavformat/rtpdec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 599e13d2a2..477ab723f4 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -162,6 +162,7 @@ struct RTPDemuxContext {
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;