summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-09-23 18:13:31 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-09-23 18:13:31 +0000
commit5a97c0d534f49c7732b93deb24c5b05473dece68 (patch)
tree3658d26155b6be3bfa2281dc37d3627c1e931131 /gst
parent4c23ebf7216be71fb19811d407fb5f1ce86da964 (diff)
downloadgst-plugins-bad-5a97c0d534f49c7732b93deb24c5b05473dece68.tar.gz
gst-plugins-bad-5a97c0d534f49c7732b93deb24c5b05473dece68.tar.bz2
gst-plugins-bad-5a97c0d534f49c7732b93deb24c5b05473dece68.zip
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.
Diffstat (limited to 'gst')
-rw-r--r--gst/rtpmanager/rtpjitterbuffer.c1
-rw-r--r--gst/rtpmanager/rtpsession.c1
-rw-r--r--gst/rtpmanager/rtpsource.c3
3 files changed, 4 insertions, 1 deletions
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