alphacombine: Add missing query handler for gaps
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 25 Oct 2022 12:14:18 +0000 (08:14 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 26 Oct 2022 14:51:40 +0000 (14:51 +0000)
commit8a8fe360a2f936f31a60c8ce973f9866805f5e5e
treec5c0f0b95a610ef6e6226670aa9e5a03b3c95dbf
parentd44eb4b2fa16cfa3bbb44e49507aded05ceb3a2b
alphacombine: Add missing query handler for gaps

The gap handling was in place, but there was no event handler to trigger it.
Implement the alpha sink event handler for the gaps. This fixes handling of
valid streams which may not refresh the alpha frames for every video frames.
It will also allow a clean error if the stream was missing the initial
alpha frame, at least until we find a better way to handle these
invalid frames.

Related to #1518

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3264>
subprojects/gst-plugins-bad/gst/codecalpha/gstalphacombine.c