gstreamer/gst/rtpmanager
Pascal Buhler ca6a512b5e rtpbin: Make cleaning up sources in rtp_session_on_timeout MT safe
Using _foreach_remove on the hashtable, while releasing the lock protecting
that table inside the callback is not a good idea. The hashtable might
then change (a source removed or added) while signals like on_timeout
are being sent.

This solution makes a copy of the table, performs the _foreach without
actually removing any sources, but marks them for removal on a second
iteration with the real list, but this time not letting go of the lock.

Fixes #630452
2010-09-24 15:38:00 +02:00
..
.gitignore gst/rtpmanager/: Added custom marshallers for signals. 2009-08-11 02:30:24 +01:00
gstrtpbin-marshal.list rtpbin: do more accurate buffer offsets 2010-02-12 17:22:55 +01:00
gstrtpbin.c rtpbin: Handle rysnc of iterator when looking for free pad name 2010-09-24 14:10:26 +02:00
gstrtpbin.h rtpbin: add ntp-sync property 2010-09-06 11:01:57 +02:00
gstrtpjitterbuffer.c jitterbuffer: rename a variable to avoid confusion 2010-09-06 11:01:57 +02:00
gstrtpjitterbuffer.h raw1394, matroska, rtpmanager: remove padding from structures 2010-02-15 00:50:10 +00:00
gstrtpmanager.c rtpbin: removed old gstrtpclient 2009-08-11 02:30:45 +01:00
gstrtpptdemux.c rtpptdemux: fix memleak on custom downstream events 2010-06-30 12:39:09 +02:00
gstrtpptdemux.h gst/rtpmanager/: Add signal to notify of an SDES change. 2009-08-11 02:30:32 +01:00
gstrtpsession.c gstrtpsession: Split getting the caps into its own function 2010-09-13 16:25:42 +02:00
gstrtpsession.h rtpsession: remove prototype for non existing function 2010-04-08 14:02:50 +03:00
gstrtpssrcdemux.c gst: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs 2010-06-06 17:52:40 +02:00
gstrtpssrcdemux.h ssrcdemux: emit signal when pads are removed 2009-08-11 02:30:44 +01:00
Makefile.am Update for recent changes to common submodule 2010-03-10 21:53:51 +01:00
rtpjitterbuffer.c rtpjitterbuffer: move comment where it belongs 2010-09-06 11:01:57 +02:00
rtpjitterbuffer.h rtpbin: more buffering work 2010-02-12 17:22:56 +01:00
rtpsession.c rtpbin: Make cleaning up sources in rtp_session_on_timeout MT safe 2010-09-24 15:38:00 +02:00
rtpsession.h rtpsession: Calculate RTCP bandwidth as a fraction of the RTP bandwidth 2010-09-13 15:51:20 +02:00
rtpsource.c rtpbin: Make cleaning up sources in rtp_session_on_timeout MT safe 2010-09-24 15:38:00 +02:00
rtpsource.h rtpbin: Make cleaning up sources in rtp_session_on_timeout MT safe 2010-09-24 15:38:00 +02:00
rtpstats.c rtpmanager: provide additional statistics 2010-09-24 13:26:10 +02:00
rtpstats.h rtpmanager: provide additional statistics 2010-09-24 13:26:10 +02:00