diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-09-16 19:40:31 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-08-11 02:30:30 +0100 |
commit | b2aa36cb0d809341ab81e8a146be3a8bb06f2c1b (patch) | |
tree | e5d6beb2f682f0d0066bfb1b72a9d94b383edc78 /gst/rtpmanager/rtpsource.h | |
parent | 0441ef80b0fbe22b0a6270958e4ad2058dc0d423 (diff) |
gst/rtpmanager/gstrtpbin.c: Use lock to protect variable.
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_set_property),
(gst_rtp_bin_get_property):
Use lock to protect variable.
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_class_init),
(gst_jitter_buffer_sink_parse_caps), (gst_rtp_jitter_buffer_chain),
(convert_rtptime_to_gsttime), (gst_rtp_jitter_buffer_loop):
Reconstruct GST timestamp from RTP timestamps based on measured clock
skew and sync offset.
* gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_init),
(rtp_jitter_buffer_set_tail_changed),
(rtp_jitter_buffer_set_clock_rate),
(rtp_jitter_buffer_get_clock_rate), (calculate_skew),
(rtp_jitter_buffer_insert), (rtp_jitter_buffer_peek):
* gst/rtpmanager/rtpjitterbuffer.h:
Measure clock skew.
Add callback to be notfied when a new packet was inserted at the tail.
* gst/rtpmanager/rtpsource.c: (rtp_source_init),
(calculate_jitter), (rtp_source_send_rtp):
* gst/rtpmanager/rtpsource.h:
Remove clock skew detection, it's move to the jitterbuffer now.
Diffstat (limited to 'gst/rtpmanager/rtpsource.h')
-rw-r--r-- | gst/rtpmanager/rtpsource.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gst/rtpmanager/rtpsource.h b/gst/rtpmanager/rtpsource.h index be7934617..1952a4c24 100644 --- a/gst/rtpmanager/rtpsource.h +++ b/gst/rtpmanager/rtpsource.h @@ -137,16 +137,8 @@ struct _RTPSource { GstCaps *caps; gint clock_rate; gint32 seqnum_base; - gint64 clock_base; - /* to calculate the clock skew */ - guint64 skew_base_ntpnstime; - guint64 skew_base_rtptime; - gint64 avg_skew; - guint64 ext_rtptime; - guint64 prev_ext_rtptime; - GstClockTime bye_time; GstClockTime last_activity; GstClockTime last_rtp_activity; |