rtpjitterbuffer: Only unschedule timers for late packets if they're not RTX packets...
authorSebastian Dröge <sebastian@centricular.com>
Fri, 2 Sep 2022 09:17:39 +0000 (12:17 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 3 Sep 2022 09:26:24 +0000 (09:26 +0000)
commit2ca849499ee624550be7f026c2374fa760afd52c
treee2848fc84b6276871a2f34ae58c55a6b1183e991
parent034faeae31c5401bfcf19ea0f0d8fffc31abbad9
rtpjitterbuffer: Only unschedule timers for late packets if they're not RTX packets and only once

Timers for RTX packets are dealt with later in update_rtx_timers(), and
timers for non-RTX packets would potentially also be unscheduled a
second time from there so avoid that.

Also don't shadow the timer variable from the outer scope but instead
make use of it directly.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2973>
subprojects/gst-plugins-good/gst/rtpmanager/gstrtpjitterbuffer.c