From 83806dc4e1650190c46a90a3a439996a6406fa93 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 30 Dec 2018 18:05:18 +0000 Subject: [PATCH] rtcpbuffer: fix typo --- gst-libs/gst/rtp/gstrtcpbuffer.c | 16 ++++++++-------- gst-libs/gst/rtp/gstrtcpbuffer.h | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/gst-libs/gst/rtp/gstrtcpbuffer.c b/gst-libs/gst/rtp/gstrtcpbuffer.c index eff0f00..d47caa9 100644 --- a/gst-libs/gst/rtp/gstrtcpbuffer.c +++ b/gst-libs/gst/rtp/gstrtcpbuffer.c @@ -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; diff --git a/gst-libs/gst/rtp/gstrtcpbuffer.h b/gst-libs/gst/rtp/gstrtcpbuffer.h index 8b49d8a..fe09499 100644 --- a/gst-libs/gst/rtp/gstrtcpbuffer.h +++ b/gst-libs/gst/rtp/gstrtcpbuffer.h @@ -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 -- 2.7.4