[gst-cvs] gst-plugins-good: rtpsession: fix compilation

Wim Taymans wtay at kemper.freedesktop.org
Fri Sep 24 05:11:08 PDT 2010


Module: gst-plugins-good
Branch: master
Commit: 8337c89c7403a208af6667f9341bd782e0e91ff2
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=8337c89c7403a208af6667f9341bd782e0e91ff2

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Fri Sep 24 14:09:12 2010 +0200

rtpsession: fix compilation

---

 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 c637005..59b16db 100644
--- a/gst/rtpmanager/rtpsession.c
+++ b/gst/rtpmanager/rtpsession.c
@@ -1100,15 +1100,15 @@ check_collision (RTPSession * sess, RTPSource * source,
     /* If the source has been inactive for some time, we assume that it has
      * simply changed its transport source address. Hence, there is no true
      * third-party collision - only a simulated one. */
-    if (arrival->time > source->last_activity) {
-      GstClockTime inactivity_period = arrival->time - source->last_activity;
-      if (inactivity_period > 1*GST_SECOND) {
+    if (arrival->current_time > source->last_activity) {
+      GstClockTime inactivity_period =
+          arrival->current_time - source->last_activity;
+      if (inactivity_period > 1 * GST_SECOND) {
         /* Use new network address */
         if (rtp) {
           g_assert (source->have_rtp_from);
           rtp_source_set_rtp_from (source, &arrival->address);
-        }
-        else {
+        } else {
           g_assert (source->have_rtcp_from);
           rtp_source_set_rtcp_from (source, &arrival->address);
         }





More information about the Gstreamer-commits mailing list