diff options
author | Arnout Vandecappelle <arnout@mind.be> | 2008-12-23 11:39:59 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-12-23 11:39:59 +0000 |
commit | 21ce049f2a444409eddd1a1599bf7e5a39682b14 (patch) | |
tree | adee26f025e3a83131451b5134a3f9048fb1616d /gst/rtpmanager/rtpjitterbuffer.h | |
parent | 9488ef376435486d8e9bcaceb3046cb302396b3a (diff) | |
download | gst-plugins-bad-21ce049f2a444409eddd1a1599bf7e5a39682b14.tar.gz gst-plugins-bad-21ce049f2a444409eddd1a1599bf7e5a39682b14.tar.bz2 gst-plugins-bad-21ce049f2a444409eddd1a1599bf7e5a39682b14.zip |
gst/rtpmanager/rtpjitterbuffer.*: Keep track of the last outgoing timestamp and of the last sender-side time. Timest...
Original commit message from CVS:
Patch by: Arnout Vandecappelle <arnout at mind dot be>
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_reset_skew),
(calculate_skew):
* gst/rtpmanager/rtpjitterbuffer.h:
Keep track of the last outgoing timestamp and of the last sender-side
time. Timestamps can only go forward if they do at the sender
side, can only go back if they do at the sender side, and remain the
same if they remain the same at the sender side. Fixes #565319.
Diffstat (limited to 'gst/rtpmanager/rtpjitterbuffer.h')
-rw-r--r-- | gst/rtpmanager/rtpjitterbuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpjitterbuffer.h b/gst/rtpmanager/rtpjitterbuffer.h index aa009190..ff1a16b0 100644 --- a/gst/rtpmanager/rtpjitterbuffer.h +++ b/gst/rtpmanager/rtpjitterbuffer.h @@ -58,6 +58,7 @@ struct _RTPJitterBuffer { GstClockTime base_rtptime; guint32 clock_rate; GstClockTime base_extrtp; + GstClockTime prev_out_time; guint64 ext_rtptime; guint64 last_rtptime; gint64 window[RTP_JITTER_BUFFER_MAX_WINDOW]; |