libs: filter: handle RGB to/from YUV color primary driver quirk
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Tue, 25 Feb 2020 20:05:28 +0000 (12:05 -0800)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 28 Feb 2020 11:09:11 +0000 (11:09 +0000)
commitacf90c107000cad626e7873590e5026156db5765
treedb8fcc1114ac7e8f6c07f1eeb020b39d4eb6159d
parent13601f4071420ea6ade1aeb0512cfbbbfb62821b
libs: filter: handle RGB to/from YUV color primary driver quirk

The intel-media-driver (iHD) can't convert output color
primaries when doing YUV to/from RGB CSC.  Thus, we must
keep the output color primaries the same as the input
color primaries for this case.

fixes #238
gst-libs/gst/vaapi/gstvaapifilter.c