From 1e1c12e87ed1d4ec135330653c9390522d3e04dc Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 14 May 2007 15:28:36 +0000 Subject: gst/rtpmanager/async_jitter_queue.c: Fix leak when flushing. Original commit message from CVS: * gst/rtpmanager/async_jitter_queue.c: (async_jitter_queue_set_flushing_unlocked): Fix leak when flushing. * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_clear_pt_map), (gst_rtp_bin_class_init): * gst/rtpmanager/gstrtpbin.h: Add clear-pt-map signal. * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_flush_stop), (gst_rtp_jitter_buffer_sink_event), (gst_rtp_jitter_buffer_loop): Init clock-rate to -1 to mark unknow clock rate. Fix flushing. --- gst/rtpmanager/gstrtpbin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gst/rtpmanager/gstrtpbin.h') diff --git a/gst/rtpmanager/gstrtpbin.h b/gst/rtpmanager/gstrtpbin.h index 523eb789..24eb38d1 100644 --- a/gst/rtpmanager/gstrtpbin.h +++ b/gst/rtpmanager/gstrtpbin.h @@ -56,6 +56,8 @@ struct _GstRTPBinClass { /* get the caps for pt */ GstCaps* (*request_pt_map) (GstRTPBin *rtpbin, guint session, guint pt); + + void (*clear_pt_map) (GstRTPBin *rtpbin); }; GType gst_rtp_bin_get_type (void); -- cgit v1.2.1