encoding-profile: ignore more output caps fields
authorMathieu Duponchelle <mathieu@centricular.com>
Thu, 20 Jan 2022 23:49:33 +0000 (00:49 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 2 Aug 2022 15:48:12 +0000 (15:48 +0000)
commit0f85a46148bb8458bca21adb368cb6e104bf4ab2
tree145829840f9b5243187ad19cc37d3f05fb846321
parentbc065d2cc2cbcf8d86eb984030ef268d61860ee2
encoding-profile: ignore more output caps fields

chroma-format, bit-depth-chroma, bit-depth-luma are all informative
fields set by the H265 and H265 parser upon receiving an SPS.

They shouldn't be constrained downstream of the parser, instead
if a user wants those to ultimately match certain values they
should do so by constraining a profile.

In this case however, we also always remove the profile constraint
in order to let encoders pick a suitable one as a function of the
raw input video format and their own capabilities.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1549>
subprojects/gst-plugins-base/gst-libs/gst/pbutils/encoding-profile.c