From 9aa2da9e63502e0b964129e503e213baaa3056ed Mon Sep 17 00:00:00 2001 From: Amitkumar Pandya Date: Tue, 10 Oct 2023 13:43:12 +0530 Subject: [PATCH] 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 --- subprojects/gst-plugins-good/gst/rtpmanager/gstrtpjitterbuffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpjitterbuffer.c b/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpjitterbuffer.c index 5c05386cc8..6820008d89 100644 --- a/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpjitterbuffer.c +++ b/subprojects/gst-plugins-good/gst/rtpmanager/gstrtpjitterbuffer.c @@ -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); } }