jitterbuffer: fix race in flush-start/flush-stop
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 4 Oct 2013 10:11:56 +0000 (12:11 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 4 Oct 2013 10:35:18 +0000 (12:35 +0200)
commitd4892859d4ce62e6dac6bee68653469859f493f9
tree39391b6d9233631b251704b6d99d8bc63d9b6958
parentef548c2b286bbbae685b4f44d64a14b5e099b0ef
jitterbuffer: fix race in flush-start/flush-stop

When flush-stop arrives before we process the result of the _push() in the
loop function, we might pause even though we are not flushing anymore. Fix this
race by waiting for the srcpad loop function to completely pause after doing the
flush-start.
gst/rtpmanager/gstrtpjitterbuffer.c