rtpjitterbuffer: call update_current_timer during eos sequence

Sometimes deadlock is observed near EOS, because of a missing timer signal
after calling rtp_timer_queue_set_eos().

This change should also fix the timeout moment in case it was set earlier
then current set.

Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/1031
This commit is contained in:
Amitkumar Pandya 2023-10-10 13:43:12 +05:30 committed by Amit Pandya
parent 07cea96579
commit 9aa2da9e63

View file

@ -3768,6 +3768,7 @@ update_estimated_eos (GstRtpJitterBuffer * jitterbuffer,
rtp_timer_queue_set_eos (priv->timers, estimated,
timeout_offset (jitterbuffer));
priv->estimated_eos = estimated;
update_current_timer (jitterbuffer);
}
}