videodecoder: Don't assume GstVideoChromaSite and GstVideoColorimetry
authorSeungha Yang <seungha@centricular.com>
Fri, 30 Oct 2020 18:14:20 +0000 (03:14 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 2 Nov 2020 14:11:52 +0000 (14:11 +0000)
commit660b5e4a9864b843c3bc26cd6cdf7b42192f1f36
tree24d6eb0542443ad78ea57f9d95ecbc633cd07ec9
parent37255eb7dcf4ad40de7905bf409ecdc063ced650
videodecoder: Don't assume GstVideoChromaSite and GstVideoColorimetry

Even if given GstVideoChromaSite and/or GstVideoColorimetry has unknown
value(s), assumption for an unknown value should be done by subclass or
downstream element, not a role of video decoder. And subclass might
want to output unknown value as is.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/910>
gst-libs/gst/video/gstvideodecoder.c