qroverlay: Rework basing it on overlaycomposition
authorThibault Saunier <tsaunier@igalia.com>
Fri, 20 Nov 2020 14:28:25 +0000 (11:28 -0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 26 Nov 2020 14:34:34 +0000 (14:34 +0000)
commitad5f812c917ed3b81d6e20cb3fd97476082185fd
treedc8f730ca8195778f0336c476939242a27879707
parent3e35a6f03fbd49c1a8c3b214a6c39ca650fbbee2
qroverlay: Rework basing it on overlaycomposition

The base class is now a bin which wraps the `overlaycomposition`
element and implements the `draw` signal.

This way we support all the video formats the GstVideoOverlayComposition
API supports and the blending code can be reused. It is also possible
to have the blending happen in the sinks now.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1829>
ext/qroverlay/gstbaseqroverlay.c
ext/qroverlay/gstbaseqroverlay.h
ext/qroverlay/gstdebugqroverlay.c
ext/qroverlay/gstqroverlay.c