adder: more seeking fixes.
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 17 Jun 2009 09:22:51 +0000 (11:22 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 17 Jun 2009 09:22:51 +0000 (11:22 +0200)
commit85dbf9351515b9ad9e5e9c01fa811af2fb71943c
treee8e6790ac65ebbd6a0be59329d2d58bd26803bcc
parent62f43a1c5234001fa529477bf507cf6c83232182
adder: more seeking fixes.

When a seek failed upstream, make sure the adder sinkpad is set unflushing again
so that streaming can continue.
We only have a pending segment when we flushed.
Set the flush_stop_pending flag inside the appropriate locks and before we
attempt to perform the upstream seek.
Add some more comments.
Use the right lock to protect the flags in flush_stop.

See #585708
gst/adder/gstadder.c