compositor: Consider the converter-config when deciding whether one pad obscures...
authorSebastian Dröge <sebastian@centricular.com>
Mon, 24 May 2021 11:25:55 +0000 (14:25 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 24 May 2021 11:28:49 +0000 (14:28 +0300)
commit0b6cd6862e209f9d45e7e05ed8c3dd5a55ddf232
tree2037565584d14f1dde0f14b90b8b57be7f51b994
parent07fe3289bc6ba973026bad9266ef8ade2adbd92c
compositor: Consider the converter-config when deciding whether one pad obscures another

If the converter configuration is set to not fill any borders, or if the
border fill color is not full opaque, then the pad has to be handled
as potentially transparent and can't be considered to obscure another
one.

This prevents pads from being wrongly skipped and doing alpha-blending
with uninitialized memory.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1172>
gst/compositor/compositor.c