From 0bddbd682da02405c4b6670dd8a1df8055413387 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 5 Aug 2013 23:20:29 +0200 Subject: [PATCH] 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. --- gst/rtpmanager/rtpsession.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index f96a2235b1..c91d9481b8 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -3346,7 +3346,7 @@ rtp_session_on_timeout (RTPSession * sess, GstClockTime current_time, /* Now remove the marked sources */ 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 */ if (!is_rtcp_time (sess, current_time, &data))