mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
rtxreceive: Put debug output for retransmission requests at the right place
Before it was only ever printed once for every time a ssrc was associated with a specific stream.
This commit is contained in:
parent
8c116cfcd8
commit
68dfe93463
1 changed files with 5 additions and 3 deletions
|
@ -389,17 +389,19 @@ gst_rtp_rtx_receive_src_event (GstPad * pad, GstObject * parent,
|
|||
retransmit:
|
||||
/* the request has not been already considered
|
||||
* insert it for the first time */
|
||||
GST_DEBUG_OBJECT (rtx,
|
||||
"packet number %" G_GUINT32_FORMAT " of master stream %"
|
||||
G_GUINT32_FORMAT " needs to be retransmited", seqnum, ssrc);
|
||||
g_hash_table_insert (rtx->seqnum_ssrc1_map,
|
||||
GUINT_TO_POINTER (seqnum),
|
||||
ssrc_assoc_new (ssrc, rtx->last_time));
|
||||
}
|
||||
}
|
||||
|
||||
GST_DEBUG_OBJECT (rtx,
|
||||
"packet number %" G_GUINT32_FORMAT " of master stream %"
|
||||
G_GUINT32_FORMAT " needs to be retransmitted", seqnum, ssrc);
|
||||
|
||||
GST_OBJECT_UNLOCK (rtx);
|
||||
}
|
||||
|
||||
/* Transfer event upstream so that the request can acutally by translated
|
||||
* through gstrtpsession through the network */
|
||||
res = gst_pad_event_default (pad, parent, event);
|
||||
|
|
Loading…
Reference in a new issue