oggdemux: fix wedge when seeking twice quickly in push mode
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 14 Sep 2011 11:23:19 +0000 (12:23 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 16 Sep 2011 19:07:33 +0000 (20:07 +0100)
commit89fc5b4bd8714d4d666d5cee8139495712389e20
tree8de49cf4d699fd052a2221ef647f2755ca60da98
parent0173afa38cc6f8a2cb810f99a24ddb1d5d5f4868
oggdemux: fix wedge when seeking twice quickly in push mode

This could happen when testing with navseek, and pressing
right and left at roughly the same time. The current chain
is temporarily moved away, and this caused the flush events
not to be sent to the source pads, which would cause the
data queues downstream to reject incoming data after the
seek, and shut down, wedging the pipeline.

Now, I can't really decide whether this is a nasty steaming
hack or a good fix, but it certainly does fix the issue, and
does not seem to break anything else so far.

https://bugzilla.gnome.org/show_bug.cgi?id=621897
ext/ogg/gstoggdemux.c