From: <wt...@ke...> - 2009-10-16 16:34:46
|
Module: gst-plugins-base Branch: master Commit: a87811f49a55794e520de622e4faad2a455420f0 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=a87811f49a55794e520de622e4faad2a455420f0 Author: Wim Taymans <wim...@co...> Date: Fri Oct 16 10:54:31 2009 +0200 basertppayload: small comment fix --- gst-libs/gst/rtp/gstbasertppayload.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/gst-libs/gst/rtp/gstbasertppayload.c b/gst-libs/gst/rtp/gstbasertppayload.c index eaa0f93..e3b4d7f 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 |