vapostproc: Move up color balance detection to plugin.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 10 Aug 2021 15:55:43 +0000 (17:55 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 10 Sep 2021 12:45:00 +0000 (14:45 +0200)
commit0a7828e9ba931725d3f8a3a6c24d8f472dd9278b
tree8b006de46afa1381e27a396ff84c1a9ce7860035
parentece5feeb8d713acc633098ed1509c28c1f6ada18
vapostproc: Move up color balance detection to plugin.

In order to install the color balance interface, a GstVaFilter is
instantiated and queried to know if it supports color balance
filter. It was done just after the GObject was registered. Now, it's
done before.

The reason of this change is that deinterlace element has to be
registered only if deinterlace filter is available, using only one
instantiate of GstVaFilter.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2495>
sys/va/gstvavpp.c
sys/va/gstvavpp.h
sys/va/plugin.c