mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
session: pass data to remove func
Pass the data to the remove function because we are going to deref it when there is pli or fir.
This commit is contained in:
parent
38946bd9f4
commit
0bddbd682d
1 changed files with 1 additions and 1 deletions
|
@ -3346,7 +3346,7 @@ rtp_session_on_timeout (RTPSession * sess, GstClockTime current_time,
|
||||||
|
|
||||||
/* Now remove the marked sources */
|
/* Now remove the marked sources */
|
||||||
g_hash_table_foreach_remove (sess->ssrcs[sess->mask_idx],
|
g_hash_table_foreach_remove (sess->ssrcs[sess->mask_idx],
|
||||||
(GHRFunc) remove_closing_sources, NULL);
|
(GHRFunc) remove_closing_sources, &data);
|
||||||
|
|
||||||
/* see if we need to generate SR or RR packets */
|
/* see if we need to generate SR or RR packets */
|
||||||
if (!is_rtcp_time (sess, current_time, &data))
|
if (!is_rtcp_time (sess, current_time, &data))
|
||||||
|
|
Loading…
Reference in a new issue