[Megapixels] Switching back to back camera very long
When I open Megapixels, I can switch to front camera by clicking on the corresponding icon. The change of camera is instantaneous.
Then if I want to switch back to the main (back) camera it takes around 10 s. This is much longer than the launch time of the application (around 5s).
When launching Megapixels from the Terminal, at the moment the icon is clicked to switch back to main camera:
Setting sensor to 2592x1944 fmt 12289 Driver returned 2592x1944 fmt 12289
then after 10s:
Setting sensor to 2592x1944 fmt 825770306 Driver returned 2592x1944 fmt 825770306