From 5a97c0d534f49c7732b93deb24c5b05473dece68 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 23 Sep 2008 18:13:31 +0000 Subject: gst/rtpmanager/: Fix some docs. Original commit message from CVS: * gst/rtpmanager/rtpjitterbuffer.c: (rtp_jitter_buffer_insert), (rtp_jitter_buffer_get_sync): * gst/rtpmanager/rtpsession.c: (on_sender_timeout), (session_cleanup): * gst/rtpmanager/rtpsource.c: Fix some docs. --- gst/rtpmanager/rtpjitterbuffer.c | 1 + gst/rtpmanager/rtpsession.c | 1 + gst/rtpmanager/rtpsource.c | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'gst') diff --git a/gst/rtpmanager/rtpjitterbuffer.c b/gst/rtpmanager/rtpjitterbuffer.c index 697c54c4..dd65b06b 100644 --- a/gst/rtpmanager/rtpjitterbuffer.c +++ b/gst/rtpmanager/rtpjitterbuffer.c @@ -377,6 +377,7 @@ rtp_jitter_buffer_insert (RTPJitterBuffer * jbuf, GstBuffer * buf, time = calculate_skew (jbuf, rtptime, time, clock_rate); GST_BUFFER_TIMESTAMP (buf) = time; + /* It's more likely that the packet was inserted in the front of the buffer */ if (G_LIKELY (list)) g_queue_insert_before (jbuf->packets, list, buf); else diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 428181f2..8e5909ff 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -1815,6 +1815,7 @@ ignore: * @buffer: an RTP buffer * @current_time: the current system time * @ntpnstime: the NTP time in nanoseconds of when this buffer was captured. + * This is the buffer timestamp converted to NTP time. * * Send the RTP buffer in the session manager. This function takes ownership of * @buffer. diff --git a/gst/rtpmanager/rtpsource.c b/gst/rtpmanager/rtpsource.c index 8d9d6ecf..af4d3dcd 100644 --- a/gst/rtpmanager/rtpsource.c +++ b/gst/rtpmanager/rtpsource.c @@ -970,7 +970,8 @@ rtp_source_process_bye (RTPSource * src, const gchar * reason) * rtp_source_send_rtp: * @src: an #RTPSource * @buffer: an RTP buffer - * @ntpnstime: the NTP time when this buffer was captured in nanoseconds + * @ntpnstime: the NTP time when this buffer was captured in nanoseconds. This + * is the buffer timestamp converted to NTP time. * * Send an RTP @buffer originating from @src. This will make @src a sender. * This function takes ownership of @buffer and modifies the SSRC in the RTP -- cgit v1.2.1