Skip to content

Set correct squeeze factor for 720p modes assuming 3x5 binning/skipping

Bitbucket Importer requested to merge bitbucket/merged-pr-608 into branch/unified

Created originally on Bitbucket by rbrune (Rafael Brune)

Was already merged in Bitbucket before import, marked as merged by the import user

For crop cameras the squeeze factor was wrongly calculated. As it looks like all cameras use 3x5 binning/skipping for the 720p mode we can fix the squeeze factor to 5/3.

The patch shouldn't change anything for full frame cameras - and for crop cameras the current code calculates a wrong squeeze factor and therefore records the wrong resolution for a giving aspect ration and also shows the wrong squeeze factor in the UI, the patch corrects that.

Merge request reports