camerabin: Fix source updates with user filters
authorRobert Mader <robert.mader@collabora.com>
Sun, 22 Oct 2023 09:06:27 +0000 (11:06 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 16 Nov 2023 18:39:26 +0000 (18:39 +0000)
commite3f68180033ce8ab9c2b60f4849ef143ab2d7875
tree4b5355604f4eae2438fd6ee674776deb38ec3dca
parentd2646e0a1925941533c666d83f79be1325d89ea8
camerabin: Fix source updates with user filters

Take the case into account when user filters have been set before the
source gets updated.

Note that the further linking of the filters, if present, happens below
in the `gst_camera_bin_check_and_replace_filter()` calls.

The audio filter is still affected by the same issue but left out for
now.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5682>
subprojects/gst-plugins-bad/gst/camerabin2/gstcamerabin2.c