Posted: Fri Dec 28, 2007 7:30 pm
zoneminder wrote:I missed this thread the first time around I think but I have added an entry into bugzilla. The only thing I am a bit concerned about is hardcoding the 3/4 ratio but that may be able to be worked around.
Or how about a drop box in the monitor config to select ratios or custom this would help keep it on a per monitor basis.robi wrote:Use the settings dialog, add an option like ZM_DEFAULT_ASPECT_RATIO, with two text boxes separated by ":". By default they should contain 4:3, but the user can enter any default aspect ratio he/she wants. This saves in the db as a global option.
In the monitor settings on the Source tab, add a checkbox called 'Keep aspect ratio', then whenever width or height is changed, the other one gets calculated based on the formula above with the values from the settings. If the Checkbox is cleared, the re-calculation doesn't occur. All the values, including checkbox value, are saved in the database, on a per monitor basis (default: Checked).