collectpads: implement flushing seek support
authorAlessandro Decina <alessandro.d@gmail.com>
Mon, 16 Sep 2013 07:55:58 +0000 (09:55 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 11 Nov 2013 15:50:42 +0000 (16:50 +0100)
commit7aec5739eb6cc667afde0db8b69f2f069da5e15e
tree5c94768c2dfb4c3e1586c1fafef3f85c3f40ea98
parentf52b5ddcd2de711c1e095d6b4875566cffcc8244
collectpads: implement flushing seek support

Implement common flushing seek logic in GstCollectPads. Add new
API so that elements can opt-in to using the new logic
(gst_collect_pads_src_event_default) and can extend it
(gst_collect_pads_set_flush_function) to flush any internal
state.

See https://bugzilla.gnome.org/show_bug.cgi?id=706779 and
https://bugzilla.gnome.org/show_bug.cgi?id=706441 for the
background discussion.

API: gst_collect_pads_set_flush_function()
API: gst_collect_pads_src_event_default()

https://bugzilla.gnome.org/show_bug.cgi?id=708416
libs/gst/base/gstcollectpads.c
libs/gst/base/gstcollectpads.h