adder: rework pending event handling
authorStefan Kost <ensonic@users.sf.net>
Mon, 25 Jul 2011 17:39:55 +0000 (19:39 +0200)
committerStefan Kost <ensonic@users.sf.net>
Tue, 26 Jul 2011 10:37:11 +0000 (12:37 +0200)
commit9a26e6c7bc232dbdc70a0877e02ddd38eadbb2c6
treee21b553475eddee941b56c7851098ba9e5760cbc
parenta8228b062a47b02ee7413dd2ea453d01e84e8129
adder: rework pending event handling

Use atomic ops on pending flags. Rename the segment_pending to
new_segment_pending. Set new_segment_pending not when we received seek, but
when we received the first upstream new_segment.
gst/adder/gstadder.c
gst/adder/gstadder.h