mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
rtprtx*: Fix typos
This commit is contained in:
parent
bd19b08d6d
commit
caa255d2ed
2 changed files with 7 additions and 7 deletions
|
@ -310,11 +310,11 @@ gst_rtp_rtx_receive_src_event (GstPad * pad, GstObject * parent,
|
|||
guint ssrc = 0;
|
||||
gpointer ssrc2 = 0;
|
||||
|
||||
/* retrieve seqnum of the packet that need to be restransmisted */
|
||||
/* retrieve seqnum of the packet that need to be retransmitted */
|
||||
if (!gst_structure_get_uint (s, "seqnum", &seqnum))
|
||||
seqnum = -1;
|
||||
|
||||
/* retrieve ssrc of the packet that need to be restransmisted
|
||||
/* retrieve ssrc of the packet that need to be retransmitted
|
||||
* it's usefull when reconstructing the original packet from the rtx packet */
|
||||
if (!gst_structure_get_uint (s, "ssrc", &ssrc))
|
||||
ssrc = -1;
|
||||
|
@ -329,7 +329,7 @@ gst_rtp_rtx_receive_src_event (GstPad * pad, GstObject * parent,
|
|||
++rtx->num_rtx_requests;
|
||||
|
||||
/* First, we lookup in our map to see if we have already associate this
|
||||
* master stream ssrc with its retransmisted stream.
|
||||
* master stream ssrc with its retransmitted stream.
|
||||
* Every ssrc are unique so we can use the same hash table
|
||||
* for both retrieving the ssrc1 from ssrc2 and also ssrc2 from ssrc1
|
||||
*/
|
||||
|
@ -532,13 +532,13 @@ gst_rtp_rtx_receive_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
|||
} else {
|
||||
SsrcAssoc *assoc;
|
||||
|
||||
/* the current retransmisted packet has its rtx stream not already
|
||||
/* the current retransmitted packet has its rtx stream not already
|
||||
* associated to a master stream, so retrieve it from our request
|
||||
* history */
|
||||
if (g_hash_table_lookup_extended (rtx->seqnum_ssrc1_map,
|
||||
GUINT_TO_POINTER (orign_seqnum), NULL, (gpointer *) & assoc)) {
|
||||
GST_DEBUG_OBJECT (rtx,
|
||||
"associate retransmisted stream %" G_GUINT32_FORMAT
|
||||
"associate retransmitted stream %" G_GUINT32_FORMAT
|
||||
" to master stream %" G_GUINT32_FORMAT " thanks to packet %"
|
||||
G_GUINT16_FORMAT "", ssrc, assoc->ssrc, orign_seqnum);
|
||||
ssrc1 = GUINT_TO_POINTER (assoc->ssrc);
|
||||
|
|
|
@ -460,11 +460,11 @@ gst_rtp_rtx_send_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
guint ssrc = 0;
|
||||
GstBuffer *rtx_buf = NULL;
|
||||
|
||||
/* retrieve seqnum of the packet that need to be restransmisted */
|
||||
/* retrieve seqnum of the packet that need to be retransmitted */
|
||||
if (!gst_structure_get_uint (s, "seqnum", &seqnum))
|
||||
seqnum = -1;
|
||||
|
||||
/* retrieve ssrc of the packet that need to be restransmisted */
|
||||
/* retrieve ssrc of the packet that need to be retransmitted */
|
||||
if (!gst_structure_get_uint (s, "ssrc", &ssrc))
|
||||
ssrc = -1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue