adder: Make sure FLUSH_STOP is always sent after a flushing seek.
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Tue, 24 Aug 2010 09:39:09 +0000 (11:39 +0200)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Tue, 24 Aug 2010 09:43:23 +0000 (11:43 +0200)
commit842a6c64c56cfd53064f2dc3d4f4ea81e2438457
tree7b8526d8c5ebbe9bc9f7d38484d958aa52b9b7ff
parent5e0706c74f8315636203b8d8aba7bfc3115ad0b6
adder: Make sure FLUSH_STOP is always sent after a flushing seek.

Send FLUSH_STOP right after forwarding the seek event upstream if necessary.
This makes sure that adder->srcpad is not left flushing if seeking fails or if
upstream is blocked.

The same fix was already applied to videomixer in 49b2a946.
gst/adder/gstadder.c