rtcpbuffer: fix typo
authorTim-Philipp Müller <tim@centricular.com>
Sun, 30 Dec 2018 18:05:18 +0000 (18:05 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 30 Dec 2018 18:06:58 +0000 (18:06 +0000)
gst-libs/gst/rtp/gstrtcpbuffer.c
gst-libs/gst/rtp/gstrtcpbuffer.h

index eff0f00..d47caa9 100644 (file)
@@ -2749,7 +2749,7 @@ gst_rtcp_packet_xr_get_block_length (GstRTCPPacket * packet)
  * gst_rtcp_packet_xr_get_rle_info:
  * @packet: a valid XR #GstRTCPPacket which is Loss RLE or Duplicate RLE report.
  * @ssrc: the SSRC of the RTP data packet source being reported upon by this report block.
- * @thining: the amount of thinning performed on the sequence number space.
+ * @thinning: the amount of thinning performed on the sequence number space.
  * @begin_seq: the first sequence number that this block reports on.
  * @end_seq: the last sequence number that this block reports on plus one.
  * @chunk_count: the number of chunks calculated by block length.
@@ -2762,7 +2762,7 @@ gst_rtcp_packet_xr_get_block_length (GstRTCPPacket * packet)
  */
 gboolean
 gst_rtcp_packet_xr_get_rle_info (GstRTCPPacket * packet, guint32 * ssrc,
-    guint8 * thining, guint16 * begin_seq, guint16 * end_seq,
+    guint8 * thinning, guint16 * begin_seq, guint16 * end_seq,
     guint32 * chunk_count)
 {
   guint8 *data;
@@ -2784,8 +2784,8 @@ gst_rtcp_packet_xr_get_rle_info (GstRTCPPacket * packet, guint32 * ssrc,
   /* skip header + current item offset */
   data += packet->offset + packet->item_offset;
 
-  if (thining)
-    *thining = data[1] & 0x0f;
+  if (thinning)
+    *thinning = data[1] & 0x0f;
 
   /* go to ssrc */
   data += 4;
@@ -2848,7 +2848,7 @@ gst_rtcp_packet_xr_get_rle_nth_chunk (GstRTCPPacket * packet,
  * gst_rtcp_packet_xr_get_prt_info:
  * @packet: a valid XR #GstRTCPPacket which has a Packet Receipt Times Report Block
  * @ssrc: the SSRC of the RTP data packet source being reported upon by this report block.
- * @thining: the amount of thinning performed on the sequence number space.
+ * @thinning: the amount of thinning performed on the sequence number space.
  * @begin_seq: the first sequence number that this block reports on.
  * @end_seq: the last sequence number that this block reports on plus one.
  *
@@ -2860,7 +2860,7 @@ gst_rtcp_packet_xr_get_rle_nth_chunk (GstRTCPPacket * packet,
  */
 gboolean
 gst_rtcp_packet_xr_get_prt_info (GstRTCPPacket * packet,
-    guint32 * ssrc, guint8 * thining, guint16 * begin_seq, guint16 * end_seq)
+    guint32 * ssrc, guint8 * thinning, guint16 * begin_seq, guint16 * end_seq)
 {
   guint8 *data;
   guint16 block_len;
@@ -2876,8 +2876,8 @@ gst_rtcp_packet_xr_get_prt_info (GstRTCPPacket * packet,
   /* skip header + current item offset */
   data += packet->offset + packet->item_offset;
 
-  if (thining)
-    *thining = data[1] & 0x0f;
+  if (thinning)
+    *thinning = data[1] & 0x0f;
 
   /* go to ssrc */
   data += 4;
index 8b49d8a..fe09499 100644 (file)
@@ -526,7 +526,7 @@ guint16         gst_rtcp_packet_xr_get_block_length   (GstRTCPPacket * packet);
 
 GST_RTP_API
 gboolean        gst_rtcp_packet_xr_get_rle_info       (GstRTCPPacket * packet,
-                                                       guint32 * ssrc, guint8 * thining,
+                                                       guint32 * ssrc, guint8 * thinning,
                                                        guint16 * begin_seq, guint16 * end_seq,
                                                        guint32 * chunk_count);
 
@@ -536,7 +536,7 @@ gboolean        gst_rtcp_packet_xr_get_rle_nth_chunk  (GstRTCPPacket * packet, g
 
 GST_RTP_API
 gboolean        gst_rtcp_packet_xr_get_prt_info       (GstRTCPPacket * packet,
-                                                       guint32 * ssrc, guint8 * thining,
+                                                       guint32 * ssrc, guint8 * thinning,
                                                        guint16 * begin_seq, guint16 * end_seq);
 
 GST_RTP_API