videoaggregator: handle gap buffers properly
authorMathieu Duponchelle <mathieu@centricular.com>
Thu, 30 Jan 2020 18:00:07 +0000 (19:00 +0100)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 30 Jan 2020 18:02:44 +0000 (19:02 +0100)
commit54cc985810f6a8faf88fe5c26f6af8dc194280b0
treea4f77a34eb0867c9ade2e45f6a376eb253effd4d
parent72cb0c0641ccee2c33801e3df87cad907475ff9a
videoaggregator: handle gap buffers properly

This simply implies not trying to "prepare" those buffers,
as mapping an empty buffer to a video frame does not make
much sense.

This also adds a simple test in compositor that performs
some trivial checking of the handling of gap events, the test
was not failing before, but an error was logged, this is
no longer the case.

Fixes #717
gst-libs/gst/video/gstvideoaggregator.c
tests/check/elements/compositor.c