diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2007-04-25 16:38:03 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-04-25 16:38:03 +0000 |
commit | f778bfb7cb5ff4249ed738919bf60ede7c7c4370 (patch) | |
tree | 57b400f3bfe093833d1efafe943cec8177d3d039 /gst/rtpmanager/rtpsession.c | |
parent | bfb8b8fd8da14aa00348a8ba1d8cd11fc29aba1b (diff) | |
download | gst-plugins-bad-f778bfb7cb5ff4249ed738919bf60ede7c7c4370.tar.gz gst-plugins-bad-f778bfb7cb5ff4249ed738919bf60ede7c7c4370.tar.bz2 gst-plugins-bad-f778bfb7cb5ff4249ed738919bf60ede7c7c4370.zip |
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.
Diffstat (limited to 'gst/rtpmanager/rtpsession.c')
-rw-r--r-- | gst/rtpmanager/rtpsession.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; |