queue: add "flush-on-eos" property
authorTim-Philipp Müller <tim@centricular.net>
Wed, 31 Oct 2012 19:33:30 +0000 (19:33 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 31 Oct 2012 19:33:30 +0000 (19:33 +0000)
commitaf2482b17099df4af8a45138036df44e874b5593
treed7d9c127b5b1e48231bba4152067e917e432d915
parentbdcb73c91ebc2870bf291a5cb685f74e877ca855
queue: add "flush-on-eos" property

In flush-on-eos=true mode any data remaining in the queue is
discarded when an EOS event is received, and the EOS passed
downstream as soon as possible (instead of waiting for all
buffers in the queue to get processed by downstream first).

May or may not be useful in capture/encoding scenarios.
docs/plugins/gstreamer-plugins.args
plugins/elements/gstqueue.c
plugins/elements/gstqueue.h