vapostproc: Update filters update_properties().
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 17 Aug 2021 12:54:21 +0000 (14:54 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 18 Aug 2021 09:00:55 +0000 (09:00 +0000)
Right after instantiating the VA filter and changing the element
state, rebuild the image filters.

This will fix a regression from f20b3b815, where properties in a
gst-launch pipeline are not applied.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2443>

sys/va/gstvavpp.c

index 0fe4934..fc28ef1 100644 (file)
@@ -398,6 +398,7 @@ gst_va_vpp_update_properties (GstVaBaseTransform * btrans)
 {
   GstVaVpp *self = GST_VA_VPP (btrans);
 
+  gst_va_vpp_rebuild_filters (self);
   _update_properties_unlocked (self);
 }