videoaggregator: add "ignore-eos" property for input pads
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 9 Feb 2015 19:19:35 +0000 (00:49 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 12 Jun 2015 18:44:50 +0000 (19:44 +0100)
commitb395c055ebd47a724fd2bc815d525cee531f25ba
tree4ac1fc279d61c0d8ccc7d5a66aea6bca4f08c435
parent355439206da3f1f5e91a5d1002852fdf5c904e91
videoaggregator: add "ignore-eos" property for input pads

When set, it causes videoaggregator to repeatedly aggregate the last buffer on
an EOS pad instead of skipping it and outputting silence. This is useful, for
instance, while playing back files seamless one after the other, to avoid
videoaggregator ever outputting silence (the checkerboard pattern).

It is to be noted that if all the pads on videoaggregator have this property set
on them, the mixer will never forward EOS downstream for obvious reasons. Hence,
at least one pad with 'ignore-eos' set to FALSE must send EOS to the mixer
before it will be forwarded downstream.

https://bugzilla.gnome.org/show_bug.cgi?id=748946
gst-libs/gst/video/gstvideoaggregator.c
gst-libs/gst/video/gstvideoaggregatorpad.h