mfvideoenc: Disable RGB format support
authorSeungha Yang <seungha@centricular.com>
Thu, 15 Jul 2021 07:44:18 +0000 (16:44 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 15 Jul 2021 16:50:26 +0000 (16:50 +0000)
commit9becc1fe7ebe1cc9934805c7c025bfadfb4324a4
tree00445a74f4acf9c082e49a28a73015dd1825264d
parent67d482f8fbdffc97d36d9e747e93dc3571965f2f
mfvideoenc: Disable RGB format support

Some GPUs support BGRA format and it will be converted to subsampled
YUV format by GPU internally. Disable this implicit conversion
since the conversion parameters such as input/output colorimetry
are not exposed nor it's written in bitstream (e.g., VUI).
We prefer explicit conversion via our conversion elements.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2410>
sys/mediafoundation/gstmfvideoenc.cpp