From 43f0b878c9acd2314bf9a9f260e15ef77169e778 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 25 Apr 2007 16:38:03 +0000 Subject: gst/rtpmanager/gstrtpsession.c: Implement forward and reverse reconsideration. Original commit message from CVS: * gst/rtpmanager/gstrtpsession.c: (rtcp_thread): Implement forward and reverse reconsideration. * gst/rtpmanager/rtpsession.c: (rtp_session_get_num_sources), (rtp_session_get_num_active_sources), (rtp_session_process_sr), (session_report_blocks): * gst/rtpmanager/rtpsession.h: Small cleanups. --- gst/rtpmanager/rtpsession.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gst/rtpmanager/rtpsession.c') diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 27d6dabb..1f6e1ebc 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -703,10 +703,10 @@ rtp_session_add_source (RTPSession * sess, RTPSource * src) * * Returns: The number of sources in @sess. */ -gint +guint rtp_session_get_num_sources (RTPSession * sess) { - gint result; + guint result; g_return_val_if_fail (RTP_IS_SESSION (sess), FALSE); @@ -726,12 +726,12 @@ rtp_session_get_num_sources (RTPSession * sess) * * Returns: The number of active sources in @sess. */ -gint +guint rtp_session_get_num_active_sources (RTPSession * sess) { - gint result; + guint result; - g_return_val_if_fail (RTP_IS_SESSION (sess), FALSE); + g_return_val_if_fail (RTP_IS_SESSION (sess), 0); RTP_SESSION_LOCK (sess); result = sess->stats.active_sources; -- cgit