videoaggregator: allow selecting an alpha output from non-alpha inputs
authorMatthew Waters <matthew@centricular.com>
Wed, 3 Mar 2021 07:28:54 +0000 (18:28 +1100)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 31 Mar 2021 01:55:17 +0000 (01:55 +0000)
commit3d9e7056219bdddb2206a2bc3773c62c01c19927
tree6924eb36b73d1cb0f8c22aac5cd09e3c198c9ed9
parent141b8c4399e9f0431466ba525796d6a8f196da76
videoaggregator: allow selecting an alpha output from non-alpha inputs

e.g. if we have:

video-x/raw,format=I420 ! compositor ! video/x-raw,format=BGRA

This will currently produce a warning as the alpha-ness of the chosen
'best' format (I420) will be different from the value restricted by the
downstream caps filter.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1059>
gst-libs/gst/video/gstvideoaggregator.c