rtpjitterbuffer: Stop waiting after EOS
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 22 Nov 2018 15:41:29 +0000 (10:41 -0500)
committerNicolas Dufresne <nicolas@ndufresne.ca>
Fri, 14 Dec 2018 12:10:16 +0000 (12:10 +0000)
commit3de2c28fc12cade9ac4659f361c3ac894fb33756
tree7d2da4fcd2f58985fc3a9d74029450760781af5f
parent88a6832b2a23ae5d1af0590f05f403494badcd73
rtpjitterbuffer: Stop waiting after EOS

After EOS is received, it is pointless to wait for further events,
specially waiting on timers. This patches fixes two cases where we could
wait instead of returning GST_FLOW_EOS and trigger a spin of the loop
function when EOS is queued, regardless if this EOS is the queue head or
not.
gst/rtpmanager/gstrtpjitterbuffer.c