mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +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;
|
guint ssrc = 0;
|
||||||
gpointer ssrc2 = 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))
|
if (!gst_structure_get_uint (s, "seqnum", &seqnum))
|
||||||
seqnum = -1;
|
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 */
|
* it's usefull when reconstructing the original packet from the rtx packet */
|
||||||
if (!gst_structure_get_uint (s, "ssrc", &ssrc))
|
if (!gst_structure_get_uint (s, "ssrc", &ssrc))
|
||||||
ssrc = -1;
|
ssrc = -1;
|
||||||
|
@ -329,7 +329,7 @@ gst_rtp_rtx_receive_src_event (GstPad * pad, GstObject * parent,
|
||||||
++rtx->num_rtx_requests;
|
++rtx->num_rtx_requests;
|
||||||
|
|
||||||
/* First, we lookup in our map to see if we have already associate this
|
/* 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
|
* Every ssrc are unique so we can use the same hash table
|
||||||
* for both retrieving the ssrc1 from ssrc2 and also ssrc2 from ssrc1
|
* 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 {
|
} else {
|
||||||
SsrcAssoc *assoc;
|
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
|
* associated to a master stream, so retrieve it from our request
|
||||||
* history */
|
* history */
|
||||||
if (g_hash_table_lookup_extended (rtx->seqnum_ssrc1_map,
|
if (g_hash_table_lookup_extended (rtx->seqnum_ssrc1_map,
|
||||||
GUINT_TO_POINTER (orign_seqnum), NULL, (gpointer *) & assoc)) {
|
GUINT_TO_POINTER (orign_seqnum), NULL, (gpointer *) & assoc)) {
|
||||||
GST_DEBUG_OBJECT (rtx,
|
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 %"
|
" to master stream %" G_GUINT32_FORMAT " thanks to packet %"
|
||||||
G_GUINT16_FORMAT "", ssrc, assoc->ssrc, orign_seqnum);
|
G_GUINT16_FORMAT "", ssrc, assoc->ssrc, orign_seqnum);
|
||||||
ssrc1 = GUINT_TO_POINTER (assoc->ssrc);
|
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;
|
guint ssrc = 0;
|
||||||
GstBuffer *rtx_buf = NULL;
|
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))
|
if (!gst_structure_get_uint (s, "seqnum", &seqnum))
|
||||||
seqnum = -1;
|
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))
|
if (!gst_structure_get_uint (s, "ssrc", &ssrc))
|
||||||
ssrc = -1;
|
ssrc = -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue