adder: send flush_stop to match flush_start
authorStefan Kost <ensonic@users.sf.net>
Tue, 19 May 2009 13:45:56 +0000 (16:45 +0300)
committerStefan Kost <ensonic@users.sf.net>
Tue, 19 May 2009 13:49:35 +0000 (16:49 +0300)
commitef56ebad488d7b4a7610ab733d1cec626a2f5d91
tree808d4c5873e77a4eae2d2c1bd6658c42d8c66fe6
parenta3670c67fadda3fed1917ca596c366c7219bba3a
adder: send flush_stop to match flush_start

Adder was relying that something else sends a flush stop. When using adder with
a livesource it was not getting a flush_stop and thus all pads downstream where
keept flushing. Mark a pending flush_stop and send it when we are working on
the new segment back in the streaming thread.
gst/adder/gstadder.c
gst/adder/gstadder.h