va: vp9dec: Do not re-create context for dynamical resolution change.
authorHe Junyan <junyan.he@intel.com>
Wed, 14 Jul 2021 06:43:51 +0000 (14:43 +0800)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 15 Jul 2021 09:42:51 +0000 (09:42 +0000)
commit458ac4a693efcae3c3b18f03c4e7959cc5003abc
tree907ba4f81652e429138f658559bad8f41ef3d929
parent6887e772016c5e4ab9f82228f9ca95d6c7eb3d70
va: vp9dec: Do not re-create context for dynamical resolution change.

The driver for VP9 should have the ability to handle the dynamical resolution
changes. So if only the resolution changes, we should not re-create the config
and context in negotiation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2407>
sys/va/gstvavp9dec.c