rtpjitterbuffer: Don't shadow variable

While this didn't cause any problems in this context it is simply
confusing.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2973>
This commit is contained in:
Sebastian Dröge 2022-09-02 12:20:30 +03:00 committed by GStreamer Marge Bot
parent 0b19c457ca
commit e66f5e2423

View file

@ -3408,12 +3408,12 @@ gst_rtp_jitter_buffer_chain (GstPad * pad, GstObject * parent,
* sequence number, let's allow at least 10k packets in any case. */ * sequence number, let's allow at least 10k packets in any case. */
while (rtp_jitter_buffer_is_full (priv->jbuf) && while (rtp_jitter_buffer_is_full (priv->jbuf) &&
priv->srcresult == GST_FLOW_OK) { priv->srcresult == GST_FLOW_OK) {
RtpTimer *timer = rtp_timer_queue_peek_earliest (priv->timers); RtpTimer *earliest_timer = rtp_timer_queue_peek_earliest (priv->timers);
while (timer) { while (earliest_timer) {
timer->timeout = -1; earliest_timer->timeout = -1;
if (timer->type == RTP_TIMER_DEADLINE) if (earliest_timer->type == RTP_TIMER_DEADLINE)
break; break;
timer = rtp_timer_get_next (timer); earliest_timer = rtp_timer_get_next (earliest_timer);
} }
update_current_timer (jitterbuffer); update_current_timer (jitterbuffer);