x264enc: Forward downstream colorimetry and chroma-site upstream
authorThibault Saunier <tsaunier@igalia.com>
Tue, 7 Jul 2020 02:13:55 +0000 (22:13 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Fri, 10 Jul 2020 12:47:29 +0000 (08:47 -0400)
commitde77207bfa57b8d884a4ac6f3dfe59badca92723
tree048d9bd3a588dcc0c8b5c0c664f74be9c8f38340
parent9c1aacb6351c3823b6c4b438abd0aead20a65aa2
x264enc: Forward downstream colorimetry and chroma-site upstream

So that the value can be used by upstream converters when necessary.

This whole logic has been copied from `__gst_video_element_proxy_caps`
but those 2 fields were missing.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/60>
ext/x264/gstx264enc.c