textrender: Fix AYUV output.
authorJan Schmidt <jan@centricular.com>
Thu, 9 Apr 2020 18:24:03 +0000 (04:24 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 9 Apr 2020 18:29:51 +0000 (18:29 +0000)
commit212c94312ef747f6f0a216bb80ee047e0f060199
tree95eb1d5f5dae1f893ce3572a89ac1cfeb48ba3b9
parent4216bd6eb2cb4cf767d79f3ce81fc82336447a46
textrender: Fix AYUV output.

Fix the check for whether the element is operating in ARGB mode. It
was incorrectly checking if the output format has an alpha channel,
which is true for both ARGB and AYUV, leading to the element
incorrectly outputting ARGB values into AYUV caps.
ext/pango/gsttextrender.c