mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:46:13 +00:00
rtpsession: Remove useless goto
https://bugzilla.gnome.org/show_bug.cgi?id=746543
This commit is contained in:
parent
7bd1cfa197
commit
8ada98964d
1 changed files with 1 additions and 7 deletions
|
@ -3536,11 +3536,7 @@ is_rtcp_time (RTPSession * sess, GstClockTime current_time, ReportData * data)
|
||||||
GST_DEBUG ("early feedback %" GST_TIME_FORMAT " < now %"
|
GST_DEBUG ("early feedback %" GST_TIME_FORMAT " < now %"
|
||||||
GST_TIME_FORMAT, GST_TIME_ARGS (sess->next_early_rtcp_time),
|
GST_TIME_FORMAT, GST_TIME_ARGS (sess->next_early_rtcp_time),
|
||||||
GST_TIME_ARGS (current_time));
|
GST_TIME_ARGS (current_time));
|
||||||
goto early;
|
} else if (sess->next_rtcp_check_time == GST_CLOCK_TIME_NONE ||
|
||||||
}
|
|
||||||
|
|
||||||
/* no need to check yet */
|
|
||||||
if (sess->next_rtcp_check_time == GST_CLOCK_TIME_NONE ||
|
|
||||||
sess->next_rtcp_check_time > current_time) {
|
sess->next_rtcp_check_time > current_time) {
|
||||||
GST_DEBUG ("no check time yet, next %" GST_TIME_FORMAT " > now %"
|
GST_DEBUG ("no check time yet, next %" GST_TIME_FORMAT " > now %"
|
||||||
GST_TIME_FORMAT, GST_TIME_ARGS (sess->next_rtcp_check_time),
|
GST_TIME_FORMAT, GST_TIME_ARGS (sess->next_rtcp_check_time),
|
||||||
|
@ -3548,8 +3544,6 @@ is_rtcp_time (RTPSession * sess, GstClockTime current_time, ReportData * data)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
early:
|
|
||||||
|
|
||||||
/* take interval and add jitter */
|
/* take interval and add jitter */
|
||||||
interval = data->interval;
|
interval = data->interval;
|
||||||
if (interval != GST_CLOCK_TIME_NONE)
|
if (interval != GST_CLOCK_TIME_NONE)
|
||||||
|
|
Loading…
Reference in a new issue