Camera is upside down

I’m trying to scan qr codes, the camera works but is upside down

My configuration:

Camera to configure: front
image source: system camera (qt)

Citra Build: Canary HEAD-062F272

Use the back camera.

I tried that, it’s the same, I was able to scan the codes using the still image mode but I still want to know how to fix the camera