basertppayload: small comment fix
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 16 Oct 2009 08:54:31 +0000 (10:54 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 16 Oct 2009 08:59:39 +0000 (10:59 +0200)
gst-libs/gst/rtp/gstbasertppayload.c

index eaa0f93..e3b4d7f 100644 (file)
@@ -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