videoaggregator: implement samples selection API
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 1 Jul 2020 01:47:00 +0000 (03:47 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 31 Jul 2020 07:54:56 +0000 (07:54 +0000)
commit2faeb7d394c0d04b42ec7a08d13359744336a9b4
tree46c0ed1af2cd0842549f5650569278d41417272e
parent718122a9bfec81fb0002f456abaf6b3faec6a3d6
videoaggregator: implement samples selection API

Call gst_aggregator_selected_samples() after filling the queues
(but before preparing frames).

Implement GstAggregator.peek_next_sample.

Add an example that demonstrates usage of the new API in combination
with the existing buffer-consumed signal.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/728>
gst-libs/gst/video/gstvideoaggregator.c
tests/check/elements/compositor.c
tests/examples/compositor/meson.build
tests/examples/compositor/signals.c [new file with mode: 0644]