session: small cleanup

This commit is contained in:
Wim Taymans 2013-07-26 22:25:17 +02:00
parent e0abd2e9b5
commit a4b4ca53c0

View file

@ -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);