Hi everyone.
I have the same issue with my POCO F5 PRO 5G. I tell you my steps:
I started with stock original ROM --> No issue with camera in portrait/landscape mode.
Then I unlocked it and installed TWRP 3.7.0_12-RedmiK60_v7.8_A13 with Fastboot mode.
Then I made a Wipe -> Format Data (clean install) and installed Stable Xiaomi.eu 14.0.24.0 via TWRP --> Issue with portrait/landscape camera.
At this moment, I had to update the modem firmware because I were not able to make/receive call by gsm. After update, calls ok!
20 days later, I made a dirty install of Stable Xiaomi.eu 14.0.25.0 over the existing one 14.0.24.0 via TWRP --> The issue with portrait/landscape camera is still there.
Again, after installed this ROM update, I had to update the modem firmware again because I were not able to make/receive call by gsm. After update, calls ok!
The camera issue is the one reported here, i.e. all photos taken with the mobile phone in landscape mode are treated as if they were portrait, so when you want to see then, they are rotated and need to be edited individually to correct their orientation to landscape mode.
Thanks for your support!