{
GstClockTime new_send_time, elapsed;
+ if (GST_CLOCK_TIME_IS_VALID (sess->next_early_rtcp_time))
+ data->is_early = TRUE;
+ else
+ data->is_early = FALSE;
+
if (data->is_early && sess->next_early_rtcp_time < current_time)
goto early;
g_hash_table_foreach_remove (sess->ssrcs[sess->mask_idx],
(GHRFunc) remove_closing_sources, NULL);
- if (GST_CLOCK_TIME_IS_VALID (sess->next_early_rtcp_time))
- data.is_early = TRUE;
- else
- data.is_early = FALSE;
-
/* see if we need to generate SR or RR packets */
if (is_rtcp_time (sess, current_time, &data)) {
if (own->marked_bye) {