summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-10-16 10:54:31 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-10-16 10:59:39 +0200
commita87811f49a55794e520de622e4faad2a455420f0 (patch)
tree7037092a038a1be667fea9ab3b96964473eed099
parent7bca2a001941798c1a4005ee37802708ed13c225 (diff)
basertppayload: small comment fix
-rw-r--r--gst-libs/gst/rtp/gstbasertppayload.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-libs/gst/rtp/gstbasertppayload.c b/gst-libs/gst/rtp/gstbasertppayload.c
index eaa0f9381..e3b4d7f8a 100644
--- a/gst-libs/gst/rtp/gstbasertppayload.c
+++ b/gst-libs/gst/rtp/gstbasertppayload.c
@@ -651,7 +651,8 @@ find_timestamp (GstBuffer ** buffer, guint group, guint idx, HeaderData * data)
data->timestamp = GST_BUFFER_TIMESTAMP (*buffer);
data->offset = GST_BUFFER_OFFSET (*buffer);
- /* stop when we find a timestamp */
+ /* stop when we find a timestamp. We take whatever offset is associated with
+ * the timestamp (if any) to do perfect timestamps when we need to. */
if (data->timestamp != -1)
return GST_BUFFER_LIST_END;
else