rtpsession: fix comment to refer to buffers instead of groups
authorAntonio Ospite <antonio.ospite@collabora.com>
Thu, 7 Mar 2019 14:34:03 +0000 (15:34 +0100)
committerAntonio Ospite <antonio.ospite@collabora.com>
Tue, 2 Apr 2019 11:03:56 +0000 (13:03 +0200)
One comments in gst_rtp_session_chain_send_rtp_common() is referring to
groups in a buffer list, however this concept of "group" comes from
GStreamer 0.10 and does not exist anymore in GStreamer 1.0, so update the
comment to refer to buffers instead.

gst/rtpmanager/gstrtpsession.c

index d8fd568..1d2e96e 100644 (file)
@@ -2305,8 +2305,8 @@ gst_rtp_session_chain_send_rtp_common (GstRtpSession * rtpsession,
   if (is_list) {
     GstBuffer *buffer = NULL;
 
-    /* All groups in a list have the same timestamp.
-     * So, just take it from the first group. */
+    /* All buffers in a list have the same timestamp.
+     * So, just take it from the first buffer. */
     buffer = gst_buffer_list_get (GST_BUFFER_LIST_CAST (data), 0);
     if (buffer)
       timestamp = GST_BUFFER_PTS (buffer);