Caps do not get updated when switching camera
We currently negotiate the camera caps in create_element()
, however we don't call it again when switching cameras, resulting in less optimal or even incompatible caps. Note that this is slightly less of a problem with !223 (merged), as we accept way more caps now.
IIUC the main reason of the current architecture is that we want to keep using the same wrappercamerabinsrc
as we need it for the viewfinder, only changing the camera-source
of the contained camerabin
later. IIUC what we need to do here is to split things up and create the wrappercamerabinsrc
independently from everything else in create_element()
- which should be created on a per-camera basis.