diff --git a/gst/rtpmanager/rtpsession.c b/gst/rtpmanager/rtpsession.c index 5d09478cd4..d9d3e71750 100644 --- a/gst/rtpmanager/rtpsession.c +++ b/gst/rtpmanager/rtpsession.c @@ -1749,8 +1749,7 @@ rtp_session_process_rtp (RTPSession * sess, GstBuffer * buffer, if (created) { GST_DEBUG ("created new CSRC: %08x", csrc); rtp_source_set_as_csrc (csrc_src); - if (RTP_SOURCE_IS_ACTIVE (csrc_src)) - sess->stats.active_sources++; + source_update_active (sess, csrc_src, FALSE); on_new_ssrc (sess, csrc_src); } g_object_unref (csrc_src);