glupload: Fix NXP's transform_caps

NXP added a fast dmabuf upload path that depends on Vivante features.
In this mode input is converted to RGBA backed by a single EGLImage so
they changed transform_caps to hard coded RGBA. They however didn't:

* remove colorimetry and chroma-site from the caps which doesn't make sense
for a non planar format like RGBA. This leads to downstream warnings
like "invalid matrix 3 for RGB format, using RGB" to be produced for
every frame.

* change upstream caps transform at all leading to allocation query
mismatches. This is most obvious when a tee is present since it now
aggregates allocation queries. At least one downstream tee branch
gets the wrong caps with subsequent all 0 pixels when frame is mapped.

Cherry-picked from upstream implementation of the same feature:
https://github.com/GStreamer/gst-plugins-base/commit/507e31dfc00256a9cb2081aaab98a7728b0197c3

Change-Id: I2e118c8559da44fd703c5071c386b7e79ff6d69a
1 file changed