projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38946bd
)
session: pass data to remove func
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 5 Aug 2013 21:20:29 +0000
(23:20 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 6 Aug 2013 13:50:19 +0000
(15:50 +0200)
Pass the data to the remove function because we are going to deref it when there
is pli or fir.
gst/rtpmanager/rtpsession.c
patch
|
blob
|
history
diff --git
a/gst/rtpmanager/rtpsession.c
b/gst/rtpmanager/rtpsession.c
index
f96a223
..
c91d948
100644
(file)
--- 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))