videoconvert: Only prefer upstream chroma-site with same subsampling.
authorJan Schmidt <jan@centricular.com>
Thu, 18 Feb 2021 15:27:07 +0000 (02:27 +1100)
committerSebastian Dröge <slomo@coaxion.net>
Fri, 19 Feb 2021 09:45:07 +0000 (09:45 +0000)
commitebad39b8657ed9138f0b2ed5bb98b4a50de209d6
tree085e9d84a4e2ecbe756c7b8b04f0ac04fed2ba3a
parenteabb2c18021dca5e7610249aa21d66d8662597ea
videoconvert: Only prefer upstream chroma-site with same subsampling.

If converting YUV formats with different chroma-subsampling, there's
probably no good reason to prefer the upstream chroma-siting so just use
the default for the output format.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1033>
gst/videoconvert/gstvideoconvert.c