vaapipostproc: do not override explicit srcpad colorimetry
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Thu, 30 Jan 2020 20:34:07 +0000 (12:34 -0800)
committerU. Artie Eoff <ullysses.a.eoff@intel.com>
Wed, 5 Feb 2020 18:16:16 +0000 (10:16 -0800)
commit654e824555552a8baf0a9ccb702208fc6a08985c
tree7f7914896942ae66ff7fab686c85f1014b8bcad2
parentc01f2e30d6bb531c9c8a27ed0beb34d12c68ad9a
vaapipostproc: do not override explicit srcpad colorimetry

If colorimetry has been set by a capsfilter (e.g.
vaapipostproc ! video/x-raw,colorimetry=bt709) then
don't try to override it.  Previously, the aforementioned
capsfilter will fail to negotiate if default colorimetry
is not the same as the capsfilter (e.g. 4K resolutions).
gst/vaapi/gstvaapipostprocutil.c