summaryrefslogtreecommitdiffstats
path: root/gst/rtpmanager/gstrtpbin.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2007-09-28 14:51:58 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-09-28 14:51:58 +0000
commit3668cfd91e87b70b41c3bad832d8486f55b9cd77 (patch)
tree4074335cbff851bf9e746f12a786f1e0ae3c0416 /gst/rtpmanager/gstrtpbin.c
parent859501af277062c7a6eab91fe68ed6ce93277815 (diff)
downloadgst-plugins-bad-3668cfd91e87b70b41c3bad832d8486f55b9cd77.tar.gz
gst-plugins-bad-3668cfd91e87b70b41c3bad832d8486f55b9cd77.tar.bz2
gst-plugins-bad-3668cfd91e87b70b41c3bad832d8486f55b9cd77.zip
gst/rtpmanager/gstrtpbin.c: Fix crasher in dispose.
Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (free_client): Fix crasher in dispose. * gst/rtpmanager/rtpjitterbuffer.c: (calculate_skew): Handle cases where input buffers have no timestamps so that no clock skew can be calculated, in this case interpollate timestamps based on rtp timestamp and assume a 0 clock skew.
Diffstat (limited to 'gst/rtpmanager/gstrtpbin.c')
-rw-r--r--gst/rtpmanager/gstrtpbin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/rtpmanager/gstrtpbin.c b/gst/rtpmanager/gstrtpbin.c
index 449d18f2..59ad0155 100644
--- a/gst/rtpmanager/gstrtpbin.c
+++ b/gst/rtpmanager/gstrtpbin.c
@@ -637,9 +637,8 @@ get_client (GstRtpBin * bin, guint8 len, guint8 * data, gboolean * created)
}
static void
-free_client (GstRtpBinClient * client, GstRtpBin * bin)
+free_client (GstRtpBinClient * client)
{
- bin->clients = g_slist_remove (bin->clients, client);
g_free (client->cname);
g_free (client);
}