diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-10-02 10:27:45 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-10-02 10:27:45 +0000 |
commit | 405ec072108fb8a5741087bfefddf63afe6ee5c4 (patch) | |
tree | c46893f0a5fd2b766fffe20959fd2547f94c23c9 /gst/rtpmanager/rtpjitterbuffer.h | |
parent | c8daf7eecbcdb1db2aef5e3d6438a82a3aa16175 (diff) | |
download | gst-plugins-bad-405ec072108fb8a5741087bfefddf63afe6ee5c4.tar.gz gst-plugins-bad-405ec072108fb8a5741087bfefddf63afe6ee5c4.tar.bz2 gst-plugins-bad-405ec072108fb8a5741087bfefddf63afe6ee5c4.zip |
gst/rtpmanager/gstrtpjitterbuffer.c: Remove some old unused variables.
Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_flush_start),
(gst_rtp_jitter_buffer_flush_stop),
(gst_rtp_jitter_buffer_change_state), (apply_offset),
(gst_rtp_jitter_buffer_loop):
Remove some old unused variables.
Don't add the latency to the skew corrected timestamp, latency is only
used to sync against the clock.
Improve debugging.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_init),
(rtp_jitter_buffer_reset_skew), (calculate_skew):
* gst/rtpmanager/rtpjitterbuffer.h:
Handle case where server timestamp goes backwards or wildly jumps by
temporarily pausing the skew correction.
Improve debugging.
Diffstat (limited to 'gst/rtpmanager/rtpjitterbuffer.h')
-rw-r--r-- | gst/rtpmanager/rtpjitterbuffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpjitterbuffer.h b/gst/rtpmanager/rtpjitterbuffer.h index fdc8d488..d9903a1d 100644 --- a/gst/rtpmanager/rtpjitterbuffer.h +++ b/gst/rtpmanager/rtpjitterbuffer.h @@ -66,6 +66,7 @@ struct _RTPJitterBuffer { gboolean window_filling; gint64 window_min; gint64 skew; + gint64 prev_send_diff; RTPTailChanged tail_changed; gpointer user_data; @@ -86,6 +87,8 @@ void rtp_jitter_buffer_set_tail_changed (RTPJitterBuffer *jbuf, void rtp_jitter_buffer_set_clock_rate (RTPJitterBuffer *jbuf, gint clock_rate); gint rtp_jitter_buffer_get_clock_rate (RTPJitterBuffer *jbuf); +void rtp_jitter_buffer_reset_skew (RTPJitterBuffer *jbuf); + gboolean rtp_jitter_buffer_insert (RTPJitterBuffer *jbuf, GstBuffer *buf, GstClockTime time); GstBuffer * rtp_jitter_buffer_pop (RTPJitterBuffer *jbuf); |