summaryrefslogtreecommitdiff
path: root/gst/rtpmanager/rtpjitterbuffer.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2013-09-20 15:35:25 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2013-09-23 14:45:24 +0200
commit5051f51f0ad2fdd4e7168f6c2f3290a7c6123f12 (patch)
tree250ba0c0730d7c216ceb152776fc7ae085b221df /gst/rtpmanager/rtpjitterbuffer.h
parenta71014518cd81b5255766d87d824fac27066eb64 (diff)
jitterbuffer: configure clock-rate on jitterbuffer
Add a get and setter to configure the clock-rate in the jitterbuffer instead of passing it as an argument to the insert method.
Diffstat (limited to 'gst/rtpmanager/rtpjitterbuffer.h')
-rw-r--r--gst/rtpmanager/rtpjitterbuffer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/rtpmanager/rtpjitterbuffer.h b/gst/rtpmanager/rtpjitterbuffer.h
index 6a0f3d0ce..ec4cad4ef 100644
--- a/gst/rtpmanager/rtpjitterbuffer.h
+++ b/gst/rtpmanager/rtpjitterbuffer.h
@@ -110,11 +110,13 @@ void rtp_jitter_buffer_set_mode (RTPJitterBuffer *jbuf,
GstClockTime rtp_jitter_buffer_get_delay (RTPJitterBuffer *jbuf);
void rtp_jitter_buffer_set_delay (RTPJitterBuffer *jbuf, GstClockTime delay);
+void rtp_jitter_buffer_set_clock_rate (RTPJitterBuffer *jbuf, guint32 clock_rate);
+guint32 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,
- guint32 clock_rate,
gboolean *tail, gint *percent);
GstBuffer * rtp_jitter_buffer_peek (RTPJitterBuffer *jbuf);
GstBuffer * rtp_jitter_buffer_pop (RTPJitterBuffer *jbuf, gint *percent);